4 ms·
For the sake of completeness, might as well mention Nuitka [1] (another Python -> C compiler), Cython (Python-like language that compiles to C), and Numba (LLVM
by nerdponx 6y ago
For the sake of completeness, might as well mention Nuitka [1] (another Python -> C compiler), Cython (Python-like language that compiles to C), and Numba (LLVM-based JIT compiler for a limited subset of Python).
[1]: http://nuitka.net/ http://nuitka.net/
[2]: https://cython.org/ https://cython.org/
[3]: https://numba.pydata.org/ https://numba.pydata.org/
- t-vi 6y agoIn the special purpose for computation (like Numba) department, but more general: TorchScript from PyTorch https://pytorch.org/docs/stable/jit_language_reference.html#torchscript-language-reference https://pytorch.org/docs/stable/jit_language_reference.html#... It doesn't compile to C but to an IR, but some ideas around typing might be similar.