Re:PyPy.js: Now faster than CPython
by pjmlp on Tuesday May 06, 2014 @02:05PM
(#7706098)
You can get that with PyPy and Cython.
[ Parent
| on HN ]
Re:PyPy.js: Now faster than CPython
by rohansingh on Tuesday May 06, 2014 @02:27PM
(#7706247)
Clean and efficient concurrency primitives? I think not? I would be very interested if that is indeed the case.
PyPy supports greenlets and a Stackless Python-style CSP with tasklets and channels. See http://doc.pypy.org/en/latest/stackless.html . And it has for years. The original Stackless author is also one of the PyPy developers.
Or do you mean some other style of concurrency primitives?
Stackless Python has very clean and efficient concurency primitives, something lot of people dont seem to know..
Re:PyPy.js: Now faster than CPython
by ggchappell on Tuesday May 06, 2014 @07:46PM
(#7707846)
> Stackless Python has very clean and efficient concurency primitives, ....
Sounds like a good topic for a post (or at least a link - hint, hint).
There are plenty of examples on http://www.stackless.com/ :)
Re:PyPy.js: Now faster than CPython
by stefantalpalaru on Tuesday May 06, 2014 @02:27PM
(#7706246)
I like Cython, but how do you do CSP (Communicating Sequential Processes) with it?
With PyCSP, as one possible example