this post was submitted on 29 Jan 2025
25 points (100.0% liked)

Programming

18041 readers
79 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I'm currently suffering a dilemma and I’m considering using Odin over Rust.

I was hoping for friendly and positively constructive assessments of which language and why from anyone who wishes to answer?

you are viewing a single comment's thread
view the rest of the comments
[–] fluffy_hub 3 points 5 days ago

I already know C/C++, I love them but I never use them again. Rust's borrow checker is still active in unsafe Rust, combined with Miri it detects most UB, leaks and various other problems. For instance I’m building a allocator now in Rust and i know it compiles and Miri didn't complain, sure i can do it in C and use Valgrind but Rust makes it a dream.

I know for Odin there are 3 tools i was looking at which could validate it for UB and leaks at runtime, but what attracts me to Odin is the fact it's not OOP and simple. I'm considering using it because i will be more debugging my game, rather than the language (to quote Zig).

But all that being said I’m good with Rust and it's tooling, so I’m probably going to remain with Rust. But yours and everyone's opinions is helping me form this so thank you!!