Re:Show HN: Python at the Speed of Rust
by olokobayusuf on Sunday April 13, 2025 @12:41PM
(#43674034)
Not quite.
First, Function is designed to be truly cross-platform but libraries like Numpy aren't compiled for say WebAssembly.
Second, the native libraries are usually built around CPython interop (i.e. the C API expects to interact with the CPython interpreter). Function does not (and will never) have a CPython interpreter (we generate full AOT compiled code).
If the library is written in C, like Numpy, can't you just link against it?