Hacker News new | past | comments | ask | show | jobs | submit login
Golang developers should try Odin (rm4n0s.github.io)
2 points by rmanolis 7 months ago | hide | past | favorite | 7 comments



Don't quite understand the logic behind this. Odin does not even have a Wikipedia page or a book on Amazon. It seems that anyone that would like Odin, would instead like or prefer Jai. In fact, Odin was heavily influenced by and copied from Jai.

Think that Odin only gets some shine because Jai wasn't released to the public. As of now, Jon Blow has made it way more easy for people to get beta versions of Jai. As for books on it, Ivo Balbaert (tech author of other programming books) is presently working on one that looks nearly complete.

The language that is really kind of like Go, would arguably be V lang[2]. It's a hybrid Go and C alternative. By the way, it at least has a Wikipedia page and books on Amazon about it.

[1]: https://inductive.no/jai/

[2]: https://vlang.io


Actually -- I belive someone known in the Odin community is writing a book! https://www.youtube.com/watch?v=j5BGZyz01lk

He also have some good tutorials online... https://zylinski.se/posts/introduction-to-odin/

Odin may not be officially production ready (ie no v1.0 yet) but it is being used in real-world applications! I believe gingerbill, the creator of Odin.. also works for them!

https://odin-lang.org/showcase/embergen/


that is the beauty of Odin, you don't need a book.

If you know Golang then you can understand Odin as well.

Vlang always adds a new feature every year and I hate that because it keeps me on my toes (and I am already too old). Also, Odin's memory management is more clear to me.

Jai is not even open source. How can I learn the language if I can not read its source code?


I write Go, tried Odin for about 3 weeks, decided it wasn't for me.

I appreciated some things, like the fact that the syntax is close to Go, the easy interop with C, the fast compilation, somewhat complete stdlib.

Other things I didn't like much: pointers have changed to '^', I'm sure there's a reasonable but I just don't like it, I'm used to '*'. Error handling is a PITA as far as I can remember. Meta programming felt clunky.

This is all subjective based on my limited experience, but I felt that Zig worked better for me.


I am enjoying Odin myself but I have to admit, I do wish they kept with * rather than ^.

I know -- it is a personal preference due to my experience with C. On the other end, I understand the change because it is more inspired by Pascal.

Also, the ^ can be used on the left side of the variable (meaning pointer to var) or ^ can be on the right side (dereference pointer to var)

It is using the Pascal usage of ^ -


> The language is slow compared to Rust

Numbers? Slow as in your cousin? Or slow as in causing a traffic jam? You fast?





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: