News for hackers. Stuff that matters.
Re:Revisiting the design approach to Zig by pjmlp on Wednesday September 07, 2022 @05:19AM (#32748368)
This is one of the things I happen to agree with you. :)

If we take comptime feature away, Zig is basically Modula-2 (1978) with friendlier syntax for folks with C background.

Everything else in terms of security Modula-2 did better (yes it did have null pointers, but supports null checking).

And the tagging mechanisms for use-after-free are anyway available for C and C++ compilers for at least 20 years (Insure++, PurifyPlus and VC++ 6.0 debug allocator being part of the first ones).

There are no comments on this comment yet.