Hacker News new | past | comments | ask | show | jobs | submit login

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 ^ -




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: