[HN Gopher] S6: A standalone JIT compiler library for CPython ___________________________________________________________________ S6: A standalone JIT compiler library for CPython Author : tvrvt Score : 52 points Date : 2022-09-17 17:55 UTC (5 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | metadat wrote: | (tl;dr: it's now archived and not under active development) | | > We have stopped working on S6 internally. As such, this | repository has been archived and we are not accepting pull | requests or issues. We open-sourced the code and provided a | design overview below to spur conversations within the Python | community and inspire future work on improving Python. | klelatti wrote: | I wonder if anyone at Deep Mind can share why they stopped | working on this. Technical issues or a business led decision? | terafo wrote: | I'd guess it got something to do with introduction of Jax. | uluyol wrote: | I'm not sure but there are several active parallel efforts to | speed up python (faster-cpython, cinder, pyston). The faster- | cpython project is doing 100% upstream development, and I'm | not sure but it seems like cinder and pyston are trying to | align with them, to avoid becoming unmaintainable forks. | gautamdivgi wrote: | There is numba that does this at least for python JIT and GIL | disabling. I haven't experimented with other use cases. It is | actively maintained. | julienpalard wrote: | In someone lands here seeking a maintained compiler for Python, | there's a lot, on top of my head: | | - Pythran (https://pythran.readthedocs.io) (ahead of time | compiler) - mypyc (https://mypyc.readthedocs.io/en/latest/) | (ahead of time compiler) - cython (ahead of time compiler) - | Numba (JIT) - Pypy (An interpreter doing JIT compiling) - Nuitka | (Ahead of time, IIRC) | | At this point we should build a "Awesome Python Compilers" repo | ... oh wait, it obviously already exists: | https://github.com/pfalcon/awesome-python-compilers | physPop wrote: | mypyc is alpha at best, I wouldn't put it in list of | recommondations. | FreakLegion wrote: | Mypyc is stable for what it supports. Mypy itself is built | with it. Black is built with it. I use it in production for | some things, but use Nuitka for others. That decision is | mostly down to a project's dependencies, not the project's | own code. The more magic a Python module has, the harder it | is to build AOT. ___________________________________________________________________ (page generated 2022-09-17 23:00 UTC)