6 ms·
I've been using Odin [1] for my hobby game development and I've been liking it a lot. Feels like a more ergonomic C. Things I like: - Vendor libraries like Ra
by creakingstairs 2y ago
I've been using Odin [1] for my hobby game development and I've been liking it a lot. Feels like a more ergonomic C.
Things I like:
- Vendor libraries like Raylib and MicroUI make it easy to get started
- I can pass around memory allocators and loggers implicitly using context, or explicitly if I need to.
- natively supports vector math and swizzling
- error handling with `or_else` and `or_return`
Things I don't like:
- Name spacing is a bit annoying. The convention is to prefix the procedures but I don't like how they look. It really isn't a big issue.
Have a quick read of the overview and if you are still interested, I highly recommand 'Understanding the Odin Programming Language' book by Karl Zylinski [2]
[1] https://odin-lang.org/docs/overview/ https://odin-lang.org/docs/overview/
[2] https://odinbook.com/ https://odinbook.com/
- johnisgood 2y agoI like Odin, but the creator is not too motivational (or rather, actively un-motivational)[1]. I still use it nonetheless for some of my own stuff, for now. Regardless, I do recommend people to try it out. I use Linux and OpenBSD, too, despite Linus and Theo. :) [1] The reason for why I think this can be found in their pull requests, but it's been some time I think.
- amjoshuamichael 2y agoWhat do you mean by "motivational?" Are you talking about how the creator is against adding new features to the language? I actually think that's perfectly fine. One of my favorite things about Odin is the simplicity; the entire language and all of its rules can be understood by reading the Odin overview document. I'm actually thrilled to have a creator that doesn't want to bloat the language.
- johnisgood 2y agoNo, suppose you make a contribution to a project and its creator belittles you instead of providing constructive criticism, for example. This contribution is not a new feature to the language, however, perhaps a 3rd-party library. It has nothing to do with adding new features. I agree with you, I do not want the language to be bloated, nor do I want new features blindly added. I prefer simplicity, too. FWIW you can see him losing his "cool" on Discord, too, at times.
- vhantz 2y agoYou should back those claims with something more than handwaving.
- deleted 2y ago[deleted]
- johnisgood 2y agoI am not trying to make him look bad. I just simply stated my reasons for hesitancy when it comes to contributing to the language. At any rate, his messages are available on Discord (unless deleted) and the pull requests are out there too, on GitHub. I do not intend to have a collection of all the times he lost his cool.
- vhantz 2y agoWell, with your unsubstantiated claims, you are making him look bad, regardless of your intentions.
- johnisgood 2y agoYeah, but it would be even worse if I collected everything about him, that would even lean towards obsession.
- xxami 2y agoI remember being turned off from it for the same reasons, in particular there were some fairly harsh comments directed to V's developer which felt a bit dog piley to me. Drama's long dead now.. It is a great language though. Closest to the language that would kill C for me so far, but not quite =D
- johnisgood 2y agoI missed out on this! I remember something, had no idea Odin was involved.