u/concerbed

I am happy to hear ThePrimeagen say that Odin and Zig are "very, very different languages"

I am happy to hear ThePrimeagen say that Odin and Zig are "very, very different languages"

A chatter asked how they compare in his stream today (ongoing as I write this) and I found it refreshing to hear.

I don't have anything against Zig, I like it quite a lot- it would probably be my language of choice were Odin not a thing, but it seems to be more or less impossible to read discussions about Odin without comparisons to Zig cropping up.

I've found this to be a tad frustrating because I also feel they're vastly different. I understand why people categorise them similarly, they're both systems languages with aims that roughly sound like "a nicer C with modern features," but I think you can only mistake them as similar if you haven't spent much time with one of them.

It feels like Zig often being mentioned when Odin is discussed connects a bit to what gingerBill said in his Marketing the Odin Programming Language is Weird blog.

Zig really does have the "killer features" that make the merit of a language easy to comprehend, which is something Odin lacks, and it is simple to rattle of those features when drawing comparisons.

In my experience with Odin, the accumulation of quality of life features, things you discover that simply make your life so much easier on the micro-scale, is what makes it such a pleasure to work with.

Those things will rarely mean much to someone who hasn't experienced them first-hand. I think that, rather than any actual lack of value, is one reason that discussions/comparisons often slant in Zig's direction. I've read so many comments from people that say something along the lines of "I just don't get the point of Odin" - which is not something I can say I've seen said about Zig.

So, it is nice to hear someone with an audience emphasise how different they are rather than leaning into comparisons that are unlikely to highlight what it is that Odin offers - even if it was just an offhand response to a viewer!

u/concerbed — 2 days ago

Has Prime streamed any of his recent dalliance with Odin?

I saw a few tweets from him about some initial impressions, but I haven't caught any of the recent streams.

I know he is a fan of Zig and that he spent a few streams going over the basics of Jai a while back. Odin tends to be discussed most in comparison to those two languages, so he seems well-poised to have an interesting perspective.

I am a big fan of Odin, but I feel like people are often far too quick to brush it off and say things along the lines of "it doesn't have any stand-out features" - despite it being a beautiful language to read/write, something I've found myself being hugely productive with, with an impressive set of libraries relative to the size of the community, and remarkable maturity/stability despite being "young" (in language terms).

I'm not able to use Jai, but I like Zig quite a lot. Having used both Odin and Zig, I would say that they have meaningfully different selling-points/aims. Odin embraces the trading-off of explicitness for the sake of a pleasant experience, without excessive magic that creates mysteries/unseen complexity. There are certainly some projects where I would reach for Zig, but I've found I'm much more productive (and happier) writing Odin for most of my day-to-day work.

Prime tends to be quite nuanced and reasonable with his perspectives, usually giving things a real shot and not being rash with conclusions, so I am very curious to hear his thoughts and, hopefully, seeing him give it a go live.

reddit.com
u/concerbed — 13 days ago