4 ms·
"allocgate" is actually a meme name that we purposely gave to this API change. In reality it's not a big deal and that's the superpower that a language v0 has:
by kristoff_it 5y ago
"allocgate" is actually a meme name that we purposely gave to this API change. In reality it's not a big deal and that's the superpower that a language v0 has: you can make breaking changes.
As for the builtin interface type, why get locked into one particular implementation when you can have all of them by leaving the choice to the programmer.
- Shadonototra 5y ago> As for the builtin interface type, why get locked into one particular implementation when you can have all of them by leaving the choice to the programmer. that's a very good point!
- williamstein 5y agoI agree that it's not a big deal. I am not a Zig developer, but I've written a few thousand lines of Zig code in the last few months that extensively uses allocators all over the place, and it only took me a few minutes to update my code to work with this API change. Also, having seriously played around in Zig for a few months writing high performance pure mathematics and number theory code for fun, I *really, really* like it. Zig is a fantastic language for certain application domains.