#assembly #allocator #web #memory-allocator

no-std malloc

A malloc implementation for a web assembly

5 releases

0.0.4 Nov 8, 2019
0.0.3 Nov 6, 2019
0.0.2 Nov 3, 2019
0.0.1 Oct 21, 2019
0.0.0 Mar 31, 2019

#1349 in WebAssembly

39 downloads per month

MIT/Apache

7KB
80 lines

malloc

A memory allocator for web assembly.

  • #![no_std] and stable
  • small footprint for smaller wasm
  • simple to learn from

Usage

[dependencies]
malloc = "0.0.1"
#[global_allocator]
static ALLOCATOR:malloc::Allocator = malloc::Allocator;

No runtime deps