Blog
DLMalloc for Gear Programs
Almost every Gear program is a self-contained WebAssembly module that runs inside a sandbox. Inside that sandbox the program needs a working allocator: most data structures used by gstd and Sails — Box, Vec, String, decoded payloads, intermediate buffers — eventually call GlobalAlloc::alloc and GlobalAlloc::dealloc