Coroutines

This Atom is Under Construction

Concurrency in computer programming looks at the problem of increasing throughput by discovering places where your programs are waiting. Then we apply various techniques to reduce that waiting.

Waiting occurs in two ways:

  1. External: Almost always a request across the network, for example to a remote web server or a local database server. You don’t know how long it will take for a response (or, in the cast of the Internet, whether the remote server has even received the request).

  2. Internal: This usually involves the time it takes for some processing activity to take place on your current machine.

End of sample. See AtomicKotlin.com for full early-access book.



Previous          Next

©2018 Mindview LLC. All Rights Reserved.