4 ms·
Does anyone know the pros/cons of zig vs nim?
by ENTP 8y ago
Does anyone know the pros/cons of zig vs nim?
- gekkonier 8y agoI think that's nothing anyone can say for sure. You need to compare them for yourself and deside if you "need" the one or the other tool for that purpose. Something like a perfect language for all things to do does not exist.
- DblPlusUngood 8y agoWell, for one thing, zig apparently has no built-in memory allocator?
- AnIdiotOnTheNet 8y agoKinda, Zig has a small selection of allocators in the standard library, but it would be true to say that it has no "default" allocator. Idiomatic Zig code that requires allocation accepts the allocator interface as a parameter, so that the programmer is free to choose whatever implementation suits their needs.