-
Notifications
You must be signed in to change notification settings - Fork 945
WebAssembly support? #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, we want to see a WASM backend (especially since I am working towards supporting algebraic effects in WASM). I didn't study the full implications yet, but in principle it should be quite easy to extend mimalloc to use an |
Preliminary port to WebAssembly/WASI here: https://github.com/jedisct1/mimalloc |
That is crazy fast! I'll look at it later when I have more time but this is great :-) |
I'll close this now that there is a pull request #32 |
Is WebAssembly a target mimalloc may eventually support?
WebAssembly doesn't have
mmap()
; only a single, linear memory segment that can grow. Allocating memory from the host must be done in a way similar tosbrk(2)
as in the good old days.Is it something
mimalloc
could do?The text was updated successfully, but these errors were encountered: