Custom allocator for wasm

i don’t know the best about memkind, but as far as wasm in browser goes, there’s just the ‘standard’ heap, which is backed by a javascript Uint8Array. Afaik, there’s no different kind of virtual memory available from js.

Probably wasi is a good platform that may support memkind.