This serves as starting point for anyone who wants to write C/C++ code, compile it to webassembly and use it in a live web page. In particular, how to use it from within an Observable notebook.
The code demonstrating the necessary code to import the module from within a notebook is available at:
. Importing a simple function https://beta.observablehq.com/@esperanc/webassembly-emscripten
. Importing a simple function using MODULARIZE https://beta.observablehq.com/@esperanc/webassembly-emscripten-with-modularize