walloc icon indicating copy to clipboard operation
walloc copied to clipboard

A small malloc implementation, for use in WebAssembly

Results 5 walloc issues
Sort by recently updated
recently updated
newest added

A couple of improvements: 1. Use __builtin_align_up if available 2. Add make step for static library

@wingo Thanks for work out such useful malloc function. I just wonder if there have any plan to implement the realloc function?

Would be cool if walloc could be used as libc malloc/free replacement on other targets than WebAssembly. @wingo do you think it is possible?

Hello, The included `test.js` demonstrates that malloc is able to allocate and release memory, but it does not make it explicit how arrays of data can be passed between C...

This is very cool! I'm curious, does it get any smaller with `wasm-opt -O2` applied?