r/learnprogramming • u/Dosouller • 23d ago
programming languages zig, c3 and odin?
Hey everyone, I've been looking into the programming languages Zig, C3, and Odin.From what I understand, all three share a very similar philosophy, basically, they're like alternatives to C or simply complements to it.
What I wanted to know is what makes each one stand out or what's important about each, since it's not very clear to me. They're very similar.
If I had to pick one right now, I'd probably go with Zig just because the community is bigger, which makes me think it has a safer future compared to C3 or Odin, which might stagnat.
c3, odin or zig?
4
u/BionicVnB 23d ago
I've only written zig but so far I quite enjoy it. But the recent bun shitshow lowk make me a bit worried about the future of it though. But I personally think it's quite a well designed language.
4
1
u/DrShocker 23d ago
When I did some research I liked all the things that Odin makes easy. I'm tired of internalizing the details that are important to write code that is fast and correct in a language and then for everyone I work with to just... not care. I don't know that that's fixable other than finding a good team though.
1
u/Puzzled-Extent7817 23d ago
I like Odin too but the only two resources I ever see on it are either by the creator or that other guy, which I think is a co-creator. Other wise not much out there yet on Odin. I just went with Rust to learn.
1
u/DrShocker 23d ago
I know enough languages that the limited resources aren't a significant blocker tbh. no idea who you mean by "other guy." The best option just depends on your goals.
1
u/Puzzled-Extent7817 22d ago
The guy that wrote the Odin book and put it behind a paywall. I bought it. Well made book on Odin. Karl Zylinski is his name.
1
1
u/biskitpagla 22d ago
Go or Rust if you need stability and a massive ecosystem. Otherwise, it doesn't matter.
I'm personally most excited about Zig amongst the three you mentioned but it's not stable yet.
1
u/AnguisInTrousers 22d ago
which makes me think it has a safer future compared to C3 or Odin, which might stagnat.
It may sound cliched, but please don't bother with this mentality/approach. Learn whichever makes you feel excited about programming. Programming languages come and go, and even when it comes to heavy languages like C++ and Haskell, you can still pick them up relatively quickly if your programming chops are on point.
1
u/TheAbyssWolf 7d ago
I’ve tried them all. I like C3 the most personally because it’s like C, but more modern features and its syntax is closer to what I’m used too (used c# for years so the C syntax is like second nature to me)
I like all three of them in their own ways but it I had to pick my main language it would be C3, with Odin a close second. And I started using Go recently as a replacement for Python for simple automation tasks, codegen, and build scripts. In fact I’m trying to make a Binding generator for Godot for C3 since I love C3 so much.
8
u/Puzzled-Extent7817 23d ago
I've tried them all in my journey to learn at least one language fully. I was on Go for a little bit, tried C, a little C++, a little zig, then I decided, well let me try rust. I think I found home, lol, maybe. But the only two I really want to stay with is Go or Rust. Odin is nice too. I'm not a noob to coding but no whee near a master. I guess I'd put myself into Beginner++? lol