John posted this article in a Pharo thread, but I'm moving response here because of the topic: https://almarklein.org/python_and_webassembly.html
*"it is possible to take multiple WebAssembly modules—which can be created with any language—and bind them together in Python. ... we took the WebAssembly module of the Rocket game <https://github.com/aochagavia/rocket_wasm>. We did not read any docs, we just took the binary WebAssembly module and loaded it into PPCI. We examined the imports and exports and that was all we needed to write the supporting Python code to make the game work. Next, we wrote an AI that is capable to play the game automatically. We wrote this in C, which we compiled to WebAssembly. Now we had two WebAssembly modules, which we bind together in Python to create a complete system of an AI playing the Rocket game :) <https://www.youtube.com/watch?v=u2kKxmb9BWs&feature=youtu.be&t=1296>" * Emphasis mine. matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
