Why Zig Feels More Practical Than Rust
16 comments
·September 23, 2025KingOfCoders
dev_l1x_be
The amount of seggfaults I have seen with Ghostty did not raise my spirits.
txdv
I haven't seen a single one.
markphip
Came here to add the same comment. Had it on my clipboard already to post. You said it better
Imustaskforhelp
What are your thoughts on nim, odin and v-lang, D-lang?
I feel like I am most interested about nim given how easy it was to pick up and how interoperable it is with C and it has a garbage collector and can change it which seems to be great for someone like me who doesn't want to worry about manual memory management right now but maybe if it becomes a bottleneck later, I can atleast fix it without worrying too much..
dayvster
I have not given any of those 3 a fair enough shot just yet to make a balanced and objective decision.
Out of all of them from what little I know and my very superficial knowledge Odin seems the most appealing to me, it's primary use case from what I know is game development I feel like that could easily pivot into native desktop application development was tempted to make a couple of those in odin in the past but never found the time.
Nim I like the concept and the idea of but the python-like syntax just irks me. haha I can't seem to get into languages where indentation replaces brackets.
But the GC part of it is pretty neat, have you checked Go yet?
Nevermark
> So when it comes to memory management there are two [THREE] terms you really need to know, [THE REGISTER BANK,] the stack and the heap.
Edits mine.
I like to keep the spacetime topologies complete.
Constant = time atom of value.
Register = time sequence of values.
Stack = time hierarchy of values.
Heap = time graph of values.
null
MangoToupe
> Developers are not Idiots
Boy, do I have bad news for you!
simonask
I’m not an idiot!
However, 3 months ago me was clearly an idiot judging from the utter crap he wrote. Me in 3 months is also an idiot, he won’t get the greatness of these genius hacks I’m making.
dayvster
Hahahahah have my upvote that was funny! Thank you
tonetegeatinst
As far as my understanding of zig goes....it can compile into C....so if you really want secure C code you can compile zig into C?
Ar-Curunir
[delayed]
ranger_danger
IMO, as a C++ developer, Swift makes the most sense to me if I were looking for a safer alternative.
I think people prefer what's familiar to them, and Swift definitely looks closer to existing C++ to me, and I believe has multiple people from the C++ WG working on it now as well, supposedly after getting fed up with the lack of language progress on C++.
The most recent versions gained a lot in the way of cross-platform availability, but the lack of a native UI framework and its association with Apple seem to put off a lot of people from even trying it.
I wish it was a lot more popular outside of the Apple ecosystem.
"All it took was some basic understanding of memory management and a bit of discipline."
The words of every C programmer who created a CVE.