News for hackers. Stuff that matters.

stuglaser

Re:PingFS on Tuesday August 13, 2013 @05:31AM (#6204774)
Re:Clojure core.async and Go: A Code Comparison on Thursday July 04, 2013 @08:34PM (#5993017)
I've implemented Go-style channels in Python, and it turned out pretty well. The 'select' statement is a bit verbose, but still pretty readable.

You can find the code here: http://github.com/stuglaser/pychan

And documentation here: https://chan.readthedocs.org/en/latest/

Re:Ask HN: what projects are you working on? on Thursday June 06, 2013 @11:36PM (#5837055)
I'm reimplementing Go-style channels in Python, including multiplexing:

https://github.com/stuglaser/pychan

Re:Replacing Clever Code with Unremarkable Code in Go on Tuesday June 04, 2013 @04:50PM (#5822035)
I've been implementing go-style channels in Python. Check it out here: https://github.com/stuglaser/pychan

Blocking on multiple channels works (chanselect).