You are here |
tenthousandmeters.com | ||
| | | |
nikgrozev.com
|
|
| | | | Most software engineers know about operating system (OS) level processes and threads. They are taught in all university OS courses. However, newer concepts p... | |
| | | |
www.integralist.co.uk
|
|
| | | | In this post I'm going to be talking about what a generator is and how it compares to a coroutine, but to understand these two concepts (generators and coroutines) we'll need to take a step back and understand the underlying concept of an Iterator. We ultimately we'll be discussing... Iterators Why use Iterators? Iterator Implementation Iterator Example Generators Why use Generators? Generator Implementation Generator Example Generator Expressions Nested Generators (i.e. yield from) Coroutines Why use Co... | |
| | | |
www.cs.cornell.edu
|
|
| | | | As a side project, I wrote a simple implementation of green threads for the Python programming language. The library is called Bluelet and it uses Python's native implementation of coroutines. Bluelet makes it easy to write concurrent socket programs without OS threads, multiple processes, or select()-and-dispatch loops. | |
| | | |
blog.martinig.ch
|
|
| | Architecture is an important asset for good programming and the notion of "pattern" is here to help us apply already trusted code architecture solutions to common problems. Jason McDonald has done a wonderful job to group some of them in a document that should be useful to most software developers. Go to his blog to |