HNHacker News
TopNewBestAskShowJobs

rgalanakis

13 karma · joined January 9, 2014

submissionscomments
rgalanakis··on Goless: Go-like semantics built on top of Stackless Python
Keep in mind, I am good friends with the Stackless maintainers, worked with Stackless professionally, and this project has had a lot of input from them. Richard (rmtew) is also a central Stackless figure. Richard has pretty much said everything I would have to say, but I just wanted to chime in to make explicit that goless is a tribute to stackless (and go, and gevent, and everything before it), not trashing them.

It's really quite a simple library, as all the hard work is done by gevent/stackless and most of the hard API decisions were copied from Go. I'm not smart enough to invent this stuff from scratch!

rgalanakis··on Goless: Go-like semantics built on top of Stackless Python
The benchmarks weren't really fair. Go was using it's reflection-based select. I will publish some new benchmarks (with an idiomatic Go switch select) soon, since someone is finishing a PR with that change. I am not sure what we'll find but I am sure Go's performance will improve.
rgalanakis··on Goless: Go-like semantics built on top of Stackless Python
Hi ceptorial, I have toyed around with this a lot. Ultimately goless is just a wrapper over stackless a gevent, which bother offer monkeypatches for the stdlib. So if you want this behavior, you can just monkeypatch first, and everything should work. I decided not to wrap the monkeypatching (for now) because I did not want to get bugs about how it doesn't work :) However I should make note of this in the docs. You should make an issue or PR!
rgalanakis··on Why CCP is still using Python 2
I changed it to "relatively few." We actually have several thousand altogether, but we have a lot of code. I don't want to discourage the great progress we've made.