News for hackers. Stuff that matters.
Re:Show HN: Python at the Speed of Rust by DeathArrow on Saturday April 12, 2025 @09:48AM (#43664334)
>If a library isn't pure Python (i.e. most of the important libs), we can't compile them.

If the library is written in C, like Numpy, can't you just link against it?

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).