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
[–] kartoffelsaft 7 points 6 days ago (1 children)

As someone who's used both, I'd have a strong preference for Odin over Rust if it were at a stable 1.0 release. As it stands now (or, at least, when I used it), Odin is very much in flux. Spend enough time with the language, and you'll either find a bug with the compiler or the semantics will change after you update.

That said, it would be my favorite without those problems. It is a really simple language in a good way. There's no fancy language features that are just syntax sugar (well except maybe context, but I find that to be actually convenient). You can understand everything in an afternoon if you are already familiar with programming in other languages. Rust is pretty much the opposite in all of these reguards.

Rust also has the benefit of being pretty recognizable at this point, so if you say your project is in Rust then people will know what that means, unlike Odin. More "resume-able" in a way.

So, in short:

  • Odin if you're doing it as a hobby
  • Rust if you want something "real"
[–] fluffy_hub 1 points 5 days ago

I agree Odin is simple which is why I’m drawn to it, after all i know computer science so really i don't need a prescribed away to do something like in Rust. Rust is amazing, but it can be slow to develop in, the points is in the compiler as for a solo dev, it reduces my need for a code quality team. Odin just gets out the way and let's you get going, it's also Go like which i'm familiar with. I've been slowly planning to stick with Rust, i might help my son learn Odin though <3