Hacker News new | ask | show | jobs
by kaba0 1677 days ago
Better C would be Zig.
2 comments

I just took a glance at Zig, but I don't think we need better C. C has it's niche and will for some time.

The most natural evolution at this point is to develop languages that have powerful, native multi-threading support.

So far, only Rust, Go and few functional languages qualify for this.

Ada has had language-integrated concurrency features for decades.
What do you mean native multi-threading? How is e.g. something like java, c++, etc not native multi-threaded
I meant that it is built-in to the language and supported in syntax.

Something like Go's channels.

All of my mentioned languages have it built-in to the language (though arguably, c++’s solution is “only a lib”)
Don't forget Ada, quite similar to C but fewer footguns and much better safety properties. It's niche, but it has its users.