Re:Some Thoughts on Zig
by pjmlp on Friday July 22, 2022 @09:20AM
(#32191614)
They could have used Object Pascal or Modula-2, and would get the same memory safety guarantees that Zig offers.
[ Parent
| on HN ]
Re:Some Thoughts on Zig
by Schroedingersat on Friday July 22, 2022 @09:57AM
(#32191901)
And it makes no pretense otherwise.
Why bring this up?
One would thought a C replacement in 2022 would have better hindsight regarding memory safety than what was already possible in 1978, which was actually even available in JOVIAL (1958), or ESPOL/NEWP (1961), among many other possible examples.
Re:Some Thoughts on Zig
by Schroedingersat on Saturday July 23, 2022 @03:40AM
(#32201260)
Guarantee =/= capability.
There are plenty of tools in the language and ecosystem for dealing with memory errors and reducing their frequency, but you're clearly not interested in a rational discussion.