- https://stackoverflow.com/questions/40083041/pass-array-to-c-function-with-emscripten
- https://emscripten.ru/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html
- http://41j.com/blog/2014/11/calling-c-javascript-emscripten-minimal-example/
- I wrote some code here for moving strings back and forth:
- https://medium.com/front-end-weekly/webassembly-part-3-different-ways-to-call-the-exported-function-in-webassembly-194830bad873
- https://web.dev/drawing-to-canvas-in-emscripten/
- Shrinking code size: https://hacks.mozilla.org/2018/01/shrinking-webassembly-and-javascript-code-sizes-in-emscripten/
- https://stackoverflow.com/questions/17883799/how-to-handle-passing-returning-array-pointers-to-emscripten-compiled-code
- https://stackoverflow.com/questions/53602955/using-emscripten-how-to-get-c-uint8-t-array-to-js-blob-or-uint8array
- https://github.com/elvis-epx/emscripten-example/
- emscripten-core/emscripten#11070
- https://stackoverflow.com/questions/46750777/passing-a-javascript-array-of-strings-to-a-c-function-with-emscripten
- https://stackoverflow.com/questions/15865923/interaction-with-c-classes-in-emscripten
- https://stackoverflow.com/questions/65566923/is-there-a-more-efficient-way-to-return-arrays-from-c-to-javascript
- emscripten-core/emscripten#11070
- https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#embind
- https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm
- https://rob-blackbourn.github.io/blog/webassembly/wasm/array/arrays/javascript/c/2020/06/07/wasm-arrays.html
- https://emscripten.org/docs/getting_started/Tutorial.html#generating-html
- https://medium.com/@eliamaino/calling-c-functions-from-javascript-with-emscripten-first-part-e99fb6eedb22
- https://stackoverflow.com/questions/41353389/how-can-i-return-a-javascript-string-from-a-webassembly-function
- https://stackoverflow.com/questions/12358877/passing-js-function-to-emscripten-generated-code
- https://stackoverflow.com/questions/47395092/accessing-dom-from-emscripten
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays
Doesn't appear to be emscripten related, just wasm in general:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory
- https://github.com/yourWaifu/compile-time-game-of-life-wasm/blob/master/index.js
- https://ariya.io/2019/05/basics-of-memory-access-in-webassembly
- https://stackoverflow.com/questions/46748572/how-to-access-webassembly-linear-memory-from-c-c
- https://rustwasm.github.io/docs/book/game-of-life/implementing.html
- https://marcoselvatici.github.io/WASM_tutorial/