Hacker News new | ask | show | jobs
by lionkor 347 days ago
The killer application case is slow adoption inside ancient C and C++ codebases. That's the angle.
1 comments

It hardly brings anything new to the table in such cases, given its approach to safety.

Most of it you can already get in C and C++, by using the tools that have in the market for the last 30 years.

It brings a lot of nice features, the potential for a healthier ecosystem, a unified build system, explicit allocators, explicit casts, and so on.
Ecosystems sell languages, not the other way around.
Yes, and you can use Zig in the C and C++ ecosystems, that's my point
For what though, what is the selling point to have IT accept it on the allowed toolchains.
And yet C/C++ developers have mostly spent the last 30 years not using those tools which is why safer successors to C and C++ appeared.
Zig is as safe as Modula-2 or Object Pascal, not the turning point of something like Swift or Rust.
I think pjmlps point is that Zig is not adding enough to be one of those safer successors.