3 ms·
What makes zig so memory efficient?
by savant_penguin 5y ago
What makes zig so memory efficient?
- coldtea 5y agoManual memory management a la C, and easy access to custom allocation (arenas, etc) that usually aren't used in most C code (and C doesn't offer as allocators by default). Add compile time processing which can get pretty far into reducing all kinds of otherwise runtime ops...