Re:Show HN: Python at the Speed of Rust
by olokobayusuf on Sunday April 13, 2025 @08:43AM
(#43672373)
We use LLVM!
We're not translating Python directly to LLVM IR (I think I've seen other projects do this). We translate Python to C++/Rust first, where we have rigorous unit tests for every operation we support translating. We then use LLVM for downstream compilation to object code.
We're not translating Python directly to LLVM IR (I think I've seen other projects do this). We translate Python to C++/Rust first, where we have rigorous unit tests for every operation we support translating. We then use LLVM for downstream compilation to object code.
Here's some more context: https://docs.fxn.ai/predictors/compiler