[Python-ideas] Re: Python JIT Compilation Thoughts

2021-01-05 Thread Christopher Barker
you really want to look at other Python JIT methods, including ones based on LLVM: numba: https://numba.pydata.org/ and the old unladen swallow project: http://qinsb.blogspot.com/2011/03/unladen-swallow-retrospective.html and of course, not LLVM based, but PyPy is worth a look. In short: a lot

[Python-ideas] Re: Python JIT Compilation Thoughts

2021-01-04 Thread redradist
For me it easier to do with C++, I know C, but with C++ it is more maintainable and easier to add new feature and also easier to refactor ... I am not sure if CPython maintainers team will appropriate that I add C++ in code base ... But I can try, I will try to find time to create small proof o

[Python-ideas] Re: Python JIT Compilation Thoughts

2021-01-04 Thread edwin
January 4, 2021 12:55 PM, redrad...@gmail.com wrote: > I have found very nice attempt of JIT for CPython > https://github.com/tonybaloney/Pyjion > > It is working under .NET Runtime, but if it is possible in this project I > believe it is possible in > CPython as well > I suggest that you fork

[Python-ideas] Re: Python JIT Compilation Thoughts

2021-01-04 Thread redradist
I have found very nice attempt of JIT for CPython https://github.com/tonybaloney/Pyjion It is working under .NET Runtime, but if it is possible in this project I believe it is possible in CPython as well Also to integrate JIT compilcation now it not so hard because we can use llvm ability for

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-06-29 Thread Brett Cannon
On Mon, Jun 29, 2020 at 2:50 AM wrote: > Ned Batchelder wrote: > > On 5/25/20 6:02 AM, redrad...@gmail.com wrote: > > > Hi all, > > > I do not know maybe it was already discussed ... > > > It's been extensively discussed and attempted. > > > but the toolchain like LLVM is very mature and it can >

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-06-29 Thread redradist
Ned Batchelder wrote: > On 5/25/20 6:02 AM, redrad...@gmail.com wrote: > > Hi all, > > I do not know maybe it was already discussed ... > > It's been extensively discussed and attempted. > > but the toolchain like LLVM is very mature and it can > > provide the simpler JIT compilation to machine cod

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-06-02 Thread Paul Sokolovsky
Hello, On Wed, 27 May 2020 20:45:15 +0200 Antoine Pitrou wrote: [] > > A recent attempt to collect known Python JITs/compilers: > > https://github.com/pfalcon/awesome-python-compilers (well, > > definitely more recent than > > https://wiki.python.org/moin/PythonImplementations#Compilers). And >

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-27 Thread Antoine Pitrou
On Wed, 27 May 2020 21:24:08 +0300 Paul Sokolovsky wrote: > Hello, > > On Wed, 27 May 2020 08:18:11 - > redrad...@gmail.com wrote: > > > Thanks Guido !! > > > > I have not known about `pyston` ... It is pretty good like for me > > I will take a close look at this project > > A recent at

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-27 Thread Paul Sokolovsky
Hello, On Wed, 27 May 2020 08:18:11 - redrad...@gmail.com wrote: > Thanks Guido !! > > I have not known about `pyston` ... It is pretty good like for me > I will take a close look at this project A recent attempt to collect known Python JITs/compilers: https://github.com/pfalcon/awesome-pyt

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-27 Thread redradist
Thanks Guido !! I have not known about `pyston` ... It is pretty good like for me I will take a close look at this project ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-26 Thread Guido van Rossum
There was also Pyston. https://blog.pyston.org/ On Tue, May 26, 2020 at 11:42 Brett Cannon wrote: > It was Unladen Swallow that used LLVM, but it was early on in LLVM's JIT > life and they unfortunately had to spend a bunch of time fixing LLVM which > ate up the time they had to do the experimen

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-26 Thread Brett Cannon
It was Unladen Swallow that used LLVM, but it was early on in LLVM's JIT life and they unfortunately had to spend a bunch of time fixing LLVM which ate up the time they had to do the experiment. On Mon, May 25, 2020 at 2:36 PM Christopher Barker wrote: > On Mon, May 25, 2020 at 3:05 AM wrote: >

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-25 Thread Ned Batchelder
On 5/25/20 6:02 AM, redrad...@gmail.com wrote: Hi all, I do not know maybe it was already discussed ... It's been extensively discussed and attempted. but the toolchain like LLVM is very mature and it can provide the simpler JIT compilation to machine code functionality and it will improve

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-25 Thread David Mertz
On Mon, May 25, 2020, 5:33 PM Christopher Barker > see numba: http://numba.pydata.org/ > > Also, I"m pretty sure one of the efforts to make a faster python was based > on LLVM, but it didn't work out as well as hoped -- unladen swallow maybe? > Numba is great. Very easy and very fast. Pypy exper

[Python-ideas] Re: Python JIT Compilation Thoughts

2020-05-25 Thread Christopher Barker
On Mon, May 25, 2020 at 3:05 AM wrote: > I do not know maybe it was already discussed ... but the toolchain like > LLVM is very mature and it can provide the simpler JIT compilation to > machine code functionality and it will improve performance of the Python a > lot !! > see numba: http://numb