News for hackers. Stuff that matters.
Re:Fast scraping in Python with Asyncio by riobard on Monday March 03, 2014 @10:45PM (#7338316)
I'm not sure if it's just me, but after years of writing Python code with various async I/O libs and then used Go for a while, it felt so much better when the language/runtime handles async I/O for me and I do not have to think about event loops at all.

Python used to be the clean and simple language for me, but all those ”hacks” to get async right just makes the final code ugly. The cleanness of Go wins me over instantly.

Even though the two languages are not directly comparable, the foundations of Go seems to me much better and solid. It reminds me of Rob Pike's essay “Less is exponentially more” http://commandcenter.blogspot.ca/2012/06/less-is-exponential...

Re:Fast scraping in Python with Asyncio by coldtea on Tuesday March 04, 2014 @12:10AM (#7338596)
To paraphrase JWZ, "Python is big because your needs are big".

I don't see anything "hacky" to get async right. It's a simple library. It's just not first class (then again, no reason it should be, isn't it not first class in Rust too?).

Re:Fast scraping in Python with Asyncio by natmaster on Monday March 03, 2014 @11:38PM (#7338492)
Try gevent or eventlet. Real pythonistas use these, instead verbose java-esque coroutines.