How to execute C from Python (Using WebAssembly & PythonMonkey)

Publié le: 24 juillet 2023
sur la chaîne: Will Pringle
170
8

Use PythonMonkey to load a C library compiled to WebAssembly (WASM) from Python. This is the easiest way to execute C from in Python that is compiled to WebAssembly.

Follow along with this GitHub repository:
- https://github.com/wiwichips/dcp-wasm...

This tutorial covers
- Compiling a C library to WebAssembly using emscripten
- Calling WASM code from Python

Test PythonMonkey in Google Colab
- https://colab.research.google.com/dri...

If you're interested in PythonMonkey and WebAssembly in Python:
- Calling Rust WASM from Python (ARTICLE)   / executing-rust-in-python-using-webassembly  
- Calling Rust WASM from Python (VIDEO)    • How to execute C from Python (Using W...  

For more information on PythonMonkey's API, refer to the PythonMonkey docs: https://docs.pythonmonkey.io/


Sur cette page du site, vous pouvez voir la vidéo en ligne How to execute C from Python (Using WebAssembly & PythonMonkey) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Will Pringle 24 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 170 fois et il a aimé 8 téléspectateurs. Bon visionnage!