concept concurrency in category functional programming

appears as: concurrency, concurrency
Functional Programming with Kotlin

This is an excerpt from Manning's book Functional Programming with Kotlin.

Why design our own library? Why not just use the concurrency that comes with Kotlin’s standard library through the use of coroutines? We’ll design our own library for two reasons: the first is for pedagogical purposes to demonstrate how easy it is to design your own library. The second reason is that we want to encourage the view that no existing library is authoritative or beyond reexamination, even if designed by experts and labeled “standard.” There’s a certain safety in doing what everybody else does, but what’s conventional isn’t necessarily the most practical. Most libraries contain a lot of arbitrary design choices, many made unintentionally. When you start from scratch, you get to revisit all the fundamental assumptions that went into designing the library, take a different path, and discover things about the problem space that others may not have even considered. As a result, you might arrive at your own design that suits your purposes better. In this particular case, our fundamental assumption will be that our library permits absolutely no side effects.

Functional Programming in C#: How to write better C# code

This is an excerpt from Manning's book Functional Programming in C#: How to write better C# code.

Elixir (http://elixir-lang.org/) is a dynamically typed language that runs on the Erlang virtual machine (which is based on the actor model, discussed in chapter 15), and as such it’s particularly well suited if your interest is in systems with a high degree of concurrency and you want to further explore message-passing concurrency.

Meaning and types of concurrency

Concurrency is the general concept of having several things going on at the same time. More formally, concurrency is when a program initiates a task before another one has completed, so that different tasks are executed in overlapping time windows.

There are several scenarios in which concurrency can occur: