Re:Why Zig When There Is Already CPP, D, and Rust? (2017)
by AnIdiotOnTheNet on Monday October 15, 2018 @12:48PM
(#18221328)
> Again, in order for that to work in generic code that convention needs to be blessed by the language.
Technically it only needs to be blessed by the standard library in this case.
I already mentioned that hack. All you're doing there is introducing the ad-hoc notion of a destructors as a method named deinit. Again, in order for that to work in generic code that convention needs to be blessed by the language.