Перейти к содержимому

Minimizing Allocations in Zig -- Zero Allocation Data Structures in Zig

Code With Cypert

0:00 / 0:00

Minimizing Allocations in Zig -- Zero Allocation Data Structures in Zig

6 596 просмотров · 1 г. назад
Code With Cypert
9,98 тыс. подписчиков
6 596 просмотров · 1 г. назад
Allocations are a fact of life and in languages like Zig, they're ever-more front-of-mind than in languages like Java, C#, or TypeScript. However, the burden of managing memory manually comes with a ton of flexibility. For example, in Zig, we can build data structures like ArrayLists, HashMaps and more without ANY heap allocations at all. Here's how...