Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
falcon
The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
This is the first time I've learned of this. How it compares to PyPy:
> PyPy is an implementation of Python with its own JIT. The biggest difference compared to Pyjion is that PyPy doesn't support all C extension modules without modification unless they use CFFI or work with the select subset of CPython's C API that PyPy does support. Pyjion also aims to support many JIT compilers while PyPy only supports their custom JIT compiler.
https://github.com/tonybaloney/Pyjion
Apparently it's originally a Microsoft project, and it requires .NET
I wonder how this compares with Numba [1]. I've used Numba on occasion to speed up numerical heavy Python code (although I would normally prefer to use Julia when possible). It can be quite finicky, but when it works in nopython mode it usually provides a significant speedup.
[1] https://numba.pydata.org/
Why is there so little mention of https://cython.org/ ?
It's very fast, it compiles to C code, then compiles the C code with a normal compiler.
Isn't this what the GraalVM [1] guys are also trying to do? Seems like today the competition is between who is more polyglot than the other, JVM, CLR or WASM.
[1] https://github.com/oracle/graalpython
For example here's a Python project modified to work well on Cython - I think that's pretty substantially modified.
https://github.com/jameskmurphy/nes/tree/main/nes/cycore
And here's a project that's mostly Python, and optionally uses Cython https://github.com/falconry/falcon