> On Aug 5, 2020, at 14:48, 'Sam Clegg' via emscripten-discuss > <[email protected]> wrote: > > The tricky part is how you manage memory within this shared heap. At the > very least you would want to tell AssemblyScript about the limits of the > heap, and maybe even pass the emscripten modules `malloc` and `free` > functions over so it can coordinate with emscripten-compiled code.
Thanks for your answer. Getting both to use the same malloc and free functions
sounds like the right way to go rather than trying to keep 2 different mallocs
from stepping on each other. I wonder if it is possible…
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/B85FDF31-72B1-4844-A78F-E631D4267E19%40callow.im.
signature.asc
Description: Message signed with OpenPGP
