Lancern's Treasure Chest
13:00 · Sep 19, 2023 · Tue
When Zig Outshines Rust - Memory Efficient Enum Arrays
Comments
via dist1ll@users.lobste.rs (dist1ll)
alic.dev
When Zig outshines Rust - Memory efficient enum arrays
Proper support for sum types or tagged unions have become table stakes for systems programming languages. However, they can incur a lot of memory fragmentation that's not trivial to avoid without good support for metaprogramming. This post goes into Zig's…
Home
Powered by
BroadcastChannel
&
Sepia