4 ms·
> The only real killer feature of Python3 is the async programming model. I understand that this is one of the major features, but I personally never saw the a
by dividuum 7y ago
> The only real killer feature of Python3 is the async programming model.
I understand that this is one of the major features, but I personally never saw the appeal, given that gevent exists and in my experience works well most of the time. It also allows me to multiplex IO operations and doesn't rely on new syntax. I'm probably missing something?
- d0mine 7y agoIn gevent, any call may behave like an implicit "goto". Here's why "goto" is bad https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ https://vorpus.org/blog/notes-on-structured-concurrency-or-g... (the link is stolen from @hermod's comment above)
- jlokier 7y agoI think the nursery construct described in that link looks a lot like par blocks in Occam, Handel-C and XMOS XC.
- Scramblejams 7y agoI find it much easier to reason about my async Python code when the async yield points are explicit. If every line can potentially yield to another async task, I find myself thinking long and hard about a lot of those lines.