Crates.io | pocketpy-sys |
lib.rs | pocketpy-sys |
version | 0.1.0 |
source | src |
created_at | 2024-08-29 18:17:23.283636 |
updated_at | 2024-08-29 18:17:23.283636 |
description | Rust FFI bindings to pocketpy, a portable python 3.x interpreter |
homepage | |
repository | https://github.com/potassium-shot/pocketpy-sys |
max_upload_size | |
id | 1356530 |
size | 5,338,339 |
Pocketpy is a portable python 3.x interpreter written in C11. These are low-level Rust bindings to Pocketpy. I may make higher level bindings in the future.
The one issue I've been having is that most linkers can't link pocketpy's static library if it is compiled with IPO (interprocedural optimizations), which will obviously result in a drop of performance. I've seen other people have the same kind of issues while linking C code to Rust code, but I'm not aware of any solution. If you think of something, feel free to make an issue/pr.