News for hackers. Stuff that matters.
Re:Zig: programming language designed for robustness optimal... by audunw on Wednesday May 30, 2018 @02:16PM (#17190125)
I experimented with Zig for embedded programming. The language is very promising for this application. It still needs some features and maturity, but it's getting there. The cross-platform support is also has some missing stuff and bugs, but many of those were actually in LLVM in my case.

To me, Zig is the most promising replacement to C right now. It seems to do everything right.

Rust is of course another candidate, with a different philosophy, but I don't consider it a pure C replacement due to core language features requiring an advanced compiler. Zig, for the moment, should be pretty simple to write a compiler for. I consider this a strength of C, that something like TCC can exist.

There are no comments on this comment yet.