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

Publicado em: 24 Julho 2023
no 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/


Nesta página do site você pode assistir ao vídeo on-line How to execute C from Python (Using WebAssembly & PythonMonkey) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Will Pringle 24 Julho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 170 vezes e gostou 8 espectadores. Boa visualização!