3 ms·
Other than comptime, it doesn't bring anything new to the 21st century. Its safety story is basically what Modula-2 (1978) and Object Pascal (1986) already had
by pjmlp 1y ago
Other than comptime, it doesn't bring anything new to the 21st century.
Its safety story is basically what Modula-2 (1978) and Object Pascal (1986) already had, but now it gets done with curly brackets instead of a begin/end language.
UAF is an issue, and the tooling to tackle this issue is exactly the same that C and C++ have available for the last 30 years, give it or take it.
It will be another language to talk about, however I doubt it will ever make it into mainstream, like having platfrom vendors and console Devkits care that Zig exists.
- Mond_ 1y agoEh? As far as I can tell Zig already has more traction than e.g. D, which is listed. I don't think it's aiming for mainstream adoption anyway, it's a very specific niche.
- pjmlp 1y agoFirst lets see if it actually manages 1.0, then lets see what major company adopts it for real. D once upon a time was also hyped due to its Facebook usage, Remedy game engine tooling. Also, has Zig already gone to space? https://forum.dlang.org/thread/10614fc$273$1@digitalmars.com https://forum.dlang.org/thread/10614fc$273$1@digitalmars.com Or used by car companies? https://forum.dlang.org/thread/evridmtwtnhhwvorohyv@forum.dlang.org https://forum.dlang.org/thread/evridmtwtnhhwvorohyv@forum.dl... Anyway, I don't expect any of them to grow beyond their niche userbase. D has lost its momentum, and Zig isn't really interesting as 21st century language in the AI tooling age.
- metaltyphoon 1y agoIMO a language made mainstream when Azure, AWS and GCP has sdks for it. It’s not fool proof but and its a perhaps a good indicator?