Live data from Hacker News

Uvloop: Fast Python networking

magic.io

131–132 of 132 posts

Re: Uvloop: Fast Python networking

#131

Earlier quoted context omitted.

Tornado still too low level. - It's verbose compared to flask. - It reinvent the wheel, while flask uses great components such as werkzeug. - If you want to make a component, it's complex. - It doesn't come battery included for the Web like Django, just the bare minimum. - It misses the opportunity to provide task queues, RPC or PUB/SUB which are key components to any modern stacks are made easily possible by having…

We will have to agree to disagree on many of your points as they are mostly personal opinions, but the last one is flat wrong. Tornado has for a long time had great support for fully leveraging all CPU cores. Happy to show sample code if you like.

My mistake. My knowledge on tornado is dated.

Re: Uvloop: Fast Python networking

#132

Earlier quoted context omitted.

Go for it! An async python web framework with the speed of Go and the ecosystem of python would be a killer app.

We are actually working on a project like this with Tygs ( https://github.com/Tygs/tygs , which will use crossbar.io), and right now it's taking ages just to get the app life cycle right. Indeed, we want to make it very easy to use, especially a clean/discoverable API, simple debugging, clear errors, etc. Which is the stuff async frameworks are not good at, and an incredible added value. It's a lot more work we initi…

You've basically described Twisted. It's unfortunate that when twisted was initially developed python didn't have some of the syntactic niceness (coroutines, async) that would have made it a bit easier/cleaner to use.
Post reply on HN