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

Publicado el: 24 julio 2023
en el canal de: 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/


En esta página del sitio puede ver el video en línea How to execute C from Python (Using WebAssembly & PythonMonkey) de Duración hora minuto segunda en buena calidad , que subió el usuario Will Pringle 24 julio 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 170 veces y le gustó 8 a los espectadores. Disfruta viendo!