14

Hey all! Read a lot of good things about Rust and I was getting pretty bored and often annoyed with building new FastAPI apps. I'm just getting started, from my research Poem seems to be doing the same thing as FastAPI kinda and I'm using SeaORM for the DB.

So far I'm loving it, Cargo.toml looks a lot like Poetry in Python but in VSCode it magically shows me the latest versions of all dependencies. Debugging is really nice because I can just copy & paste compiler messages into an LLM or Google them. It was a bit of a hassle to get all dependencies to work together and to get the thing to compile at first but now it works and I'm happy.

That being said is there anything else I need to know? I still have a very limited understanding of the whole ownership thing but e.g. I understand the benefits of passing variables instead of copying them so I guess that's a start?

you are viewing a single comment's thread
view the rest of the comments
[-] asudox@discuss.tchncs.de 13 points 1 month ago

Please read the book fully before starting any real project. It will save you headaches later

[-] echodrift@programming.dev 4 points 1 month ago

I would love to! But with the time I have at hand I won't be starting a project in the next 2 years if I try to finish the book first. I started coding with Java, then did a lot of Python & TypeScript and now I'm here. I'm mostly building CRUD apps nothing fancy, any idea which chapters of the book I could prioritize to make sure I'm not missing anything that would lead me to making really bad, hard to refactor decisions?

[-] magikmw@lemm.ee 6 points 1 month ago

If you like hands on learning, check out rustlings. It's an interactive tutorial.

[-] echodrift@programming.dev 3 points 1 month ago

Thanks! This seems exactly what I'm looking for

[-] magikmw@lemm.ee 3 points 1 month ago

Reminds me to actually finish the thing. Also, it actually has references to book chapters included, so it's easy to dive in and take in more in-depth knowledge.

load more comments (4 replies)
load more comments (4 replies)
this post was submitted on 07 Dec 2024
14 points (100.0% liked)

Rust

6204 readers
6 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS