Heath wrote:
WebAssembly programs have their own memory allocators, and you just have to give it a block of memory, and according to https://prizm.cemetech.net/index.php?title=Heap you should use the stack instead when possible, so should I try to give it stack memory rather than heap memory? So instead of allocating memory on demand I could just give it a fixed buffer

As long as it manages its own memory, this should be fine.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement