These are chat archives for dropbox/pyston

5th
Jan 2017
An Long
@aisk
Jan 05 2017 03:21
Google open sourced a python to go compiler: https://github.com/google/grumpy
I think it's a interesting project and the readme says it was "a near drop in replacement for CPython 2.7", but the readme said it will not support native extensions, so I think it dose not have the same goal with pyston :smile:
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:25
Yup, no extension support, so not a competitor
It seems to focus on no GIL (probably even at expense of performance)
So not a PyPy competitor either
An Long
@aisk
Jan 05 2017 03:28
Looks like jython have no GIL already, and dose not support native extension "natively" also ,( and is widely used in google), may be this is a jython competitor :smile:
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:28
It seems closest to Jython/IronPython, but on Go runtime
Yes
It's also similar to Facebook's early PHP-to-C++ compiler
They switched to JIT later
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:35
Google's own graph shows 2x slowdown compared to CPython for now
An Long
@aisk
Jan 05 2017 03:35
Looks like it's just in early stage.
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:36
I think slowdown maybe fundamental to no GIL (unless JIT)
An Long
@aisk
Jan 05 2017 03:37
But I have a question, if this project is a AOT Python compiler, with a runtime written in native language, what is the different from cython?
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:37
No GIL
An Long
@aisk
Jan 05 2017 03:37
sorry, cpython = > cython.
Seo Sanghyeon
@sanxiyn
Jan 05 2017 03:37
Same
There's also ability to use Go's net/http, etc, just like Jython and IronPython
An Long
@aisk
Jan 05 2017 03:40
Oh yes , I think you are right, no GIL is a good point :smile: