https://github.com/runfalk/python-async-ffi-demo
https://github.com/runfalk/python-async-ffi-demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/runfalk/python-async-ffi-demo
- Owner: runfalk
- License: mit
- Created: 2021-11-23T16:17:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-11T11:49:24.000Z (over 4 years ago)
- Last Synced: 2025-12-30T09:59:17.757Z (5 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
How to make make async FFI calls in Python
==========================================
This is an example of how to do C
[FFI](https://en.wikipedia.org/wiki/Foreign_function_interface) in an async
Python program. It is intended to be an example of how one can implement it.
Please use this as a base for implementing your own FFI.
Run the example
---------------
This requires [Rust](https://rustup.rs/) to be installed.
```bash
cargo build
python example.py
```