r/learnrust • u/Kitchen_Truck_6853 • 9d ago
Looking for intermediate Rust project ideas after 8months of learning
I been learning Rust for about 8 months now and feel pretty comfortable with the basics (ownership, traits, error handling, simple CLIs).
Now I really want to build something a bit more challenging to level up. What projects did you make around this stage that actually taught you a lot maybe something with async, networking, parsers, or a cool TUI? Would love to hear what worked for you!
24
Upvotes
4
u/Famous_Aardvark_8595 9d ago
here is my little toolkit i just put together, next phase of rust. https://github.com/rwilliamspbg-ops/RustForge
4
u/Professional_Top8485 9d ago
Two projects that thought me quite lot were generating rust bindings for c library and async web caller that had to run in sequence.
4
u/drprofsgtmrj 8d ago
Something i tried to do was implement a gba emulator using rust.
Another project could be to take something written in C and port it to Rust
2
u/Pale-Doctor3253 9d ago
Book reader in tui
2
u/DrShocker 9d ago
Make a redis
2
u/Discordbothost 9d ago
One option is a TCP chat server with a TUI client. Make the interesting requirement a client that connects but stops reading: bound its outgoing queue and decide when to disconnect it. That gives you async I/O, task ownership and backpressure in a small project, plus a concrete failure case to test.
2
u/Simpav1 8d ago
Make a TUI text editor like vim or a TUI browser that supports html and css rendering, just static pages
2
u/five5years 8d ago
Write an interpreter or simple compiler
2
u/ryo33h 8d ago
small game engine with ecs?
2
u/lgiordani 4d ago
Hi! I learned a lot following the CodeCrafters challenges (codecrafters.io). I ended up publishing two of the projects I'm working on, and you can access them without having to subscribe CodeCrafters, even though I think the platform is truly useful. You can find them at Rust Projects - Write a Redis Clone and Rust Projects - Write an Interpreter.
For me, the Redis project was the gateway to tokio and async. I understood the idea of borrowing and moving in Rust, but then I was faced with the additional issues coming from the async paradigm and that was definitely a huge step forward in terms of language knowledge.
The interpreter challenge contains problems related to memory access and sharing (e.g. environments) that an interpreter written in Java (the original example) brushes off thanks to the Garbage Collector and the flexible object-oriented system.
I hope they might help!
1
u/ComplexLeading6582 5d ago
How about diverse domain projectiles. Try each: https://github.com/RajaSrinivasan/assignments Not converted to Rust yet but solutions in many other languages. Best.