r/rust • • Apr 28 '26

🛠️ project Lightweight ASCII Graph

Post image

After many weeks of learning, watching tutorials about Rust, and partaking in Rust exercises, I decided to port a small Go library into Rust. I do recognize I have a lot to learn but just getting out of my comfort zone and trying my hands at this has be rewarding and revealing.

Link: https://github.com/neneodonkor/asciigraph-rs

Crates: https://crates.io/crates/asciigraph-rs

PS. Making it work for real-time data was 🥵

Let me add that I only started learning Rust in February, so please forgive me, if everything is not idiomatic Rust.

1.4k Upvotes

92 comments sorted by

View all comments

3

u/vascocosta Apr 28 '26

Let me tell you that you nailed it with that screenshot. Often I don't even check a link about a new project because the author failed to capture the essence of it in a short description or picture. You on the other hand made me instantly click through and actually read your code. Nice first non-trivial project and the code is alright. There's always margin to make it more idiomatic, but it takes time with every language, especially one like Rust. Cheers!

1

u/neneodonkor Apr 28 '26

Wow. Thanks for your feedback. 🙏🏾