3 ms·
While obviously this would need CPython to SPy `import` support for it to displace CPython for me, it seems like you can `import` SPy to CPython, which makes it
by jszymborski 1y ago
While obviously this would need CPython to SPy `import` support for it to displace CPython for me, it seems like you can `import` SPy to CPython, which makes it an attractive solution for implementing fast libraries where Rust is perhaps too heavy duty.
- intalentive 1y agoSeems correct. See point.spy in the playground here: https://spylang.github.io/spy/ https://spylang.github.io/spy/ # - the unsafe module allows C-level direct memory access to pointers and unsafe arrays # - @struct maps directly to C structs # - most users will never have to deal with this directly: using the unsafe` module is the equivalent of writing C extensions or using Cython