After 3-Year Hiatus, 'Pyston' Runtime Returns to Make Python Code Faster (infoworld.com) 27
"Development of Pyston, a variant of the Python runtime that uses just-in-time compilation to speed up the execution of Python programs, is back on again," reports InfoWorld — after a hiatus that began in 2017:
Picking up where Dropbox left off, a new development team has released Pyston 2.0. Pyston provides what is ultimately intended to be a drop-in replacement for the standard Python runtime, CPython. It's compatible with Python 3.8, so programs that runs with that version of Python should run as-is on Pyston...
One of the goals of the project was to remain as close as possible to the original implementation of CPython, since many third-party projects make assumptions about CPython behavior. Thus Pyston 2.0 began with the existing CPython codebase and added features from Pyston 1.0 that worked well, such as caching attributes and JITting. Pyston's JIT no longer uses LLVM, but DynASM to emit assembly directly...
[U]nlike the original Pyston incarnation, the new version is closed-source for the time being, as its new stewards determine their business model.
One of the goals of the project was to remain as close as possible to the original implementation of CPython, since many third-party projects make assumptions about CPython behavior. Thus Pyston 2.0 began with the existing CPython codebase and added features from Pyston 1.0 that worked well, such as caching attributes and JITting. Pyston's JIT no longer uses LLVM, but DynASM to emit assembly directly...
[U]nlike the original Pyston incarnation, the new version is closed-source for the time being, as its new stewards determine their business model.
You lost me (Score:5, Insightful)
Sounds cool up to the words "closed source". There you lost me.
but closed source? (Score:1)
don't see it gaining traction being closed source
Re: (Score:2)
Pissed on might also be appropriate (Score:2)
I kinda thought Pyston / pissed on was an appropriate name.
Re: (Score:2)
DynASM? (Score:2)
Re: (Score:1)
Why? (Score:3)
Re: (Score:3)
Re: (Score:3)
A different approach might help for a Python program relies on C extensions that haven't been ported to CFFI, such as Pillow (Python Imaging Library). PyPy imposes a substantial overhead per call that goes through CPython's other C bindings (Python C API and ctypes). One example is a program that calculates the average value of each 16x16-pixel chunk of a difference image as a way to determine which of four 4-color palettes best represents that chunk. The conventional way to do this in Pillow requires a cou
Re:Why? (Score:4, Informative)
Re: (Score:2)
I'm not a Python user, but surely someone has developed a true Python machine code compiler before now? It seems like such an obvious thing to do for a very popular language...
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Py2EXE just packages your Python code, the required std and 3rd party modules and a python interpreter into an exe package. Nothing is compiled. For compiled Python you need to use Nuitka (https://www.nuitka.net)
Re: (Score:2)
You forgot: "cannot use PyPy, Cython, Numba, etc.".
I think we know (Score:2)
"...the new version is closed-source for the time being, as its new stewards determine their business model."
With a statement like that I think I can predict the ending to this story: a free version and a paid version.
Why python (Score:3)
I know this is probably trolling, but duck it this is slashdot, who cares?
But really, why is everyone so gung-ho about Python? Coding with it feels like performing fine antique cabinetry restoration with fisher-price toys.
Re: (Score:2)
Python codebases tend to be more approachable, and like other interpreted languages lends itself well to having snippets be played around with.
Essentially, the community is geared toward straightforward and readable code with a particularly 'obvious' single approach if at all possible. This at times can mean more tedium (another language might offer obscure shorthand for some cases, python tends to say stick with the tedious way because we don't want to have multiple ways to do it). It very frequently leads
Re: (Score:2)
Just because I work in the digital content creation space and Python is the lingua franca for practically all DCC applications I shouldn't be on Slashdot? Screw off.
Re: (Score:2)
i didn't say anything about who should be on slashdot or not. learn to read.
What about NUMBA? (Score:1)