I might be really useful to add a sentence to the "Access Memory from Javascript" section of https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html, referencing your illuminating memory growth note https://gist.github.com/kripken/949eab99b7bc34f67c12140814d2b595. It's a good example of the requirement that "you know what you are doing", especially for C programmers who can't wait to get a buffer pointer back into Javascript.
-- 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]. For more options, visit https://groups.google.com/d/optout.
