Count the frequency of letters in texts using parallel computation.
Parallelism is about doing things in parallel that can also be done sequentially. A common example is counting the frequency of letters. Employ parallelism to calculate the total frequency of each letter in a list of texts.
You'll implement parallelism with threads: subdivide the input into chunks that code running in a thread can examine asynchronously.
Some reading material for Tcl threads:
Sign up to Exercism to learn and master Tcl with 124 exercises, and real human mentoring, all for free.
We explore the differences between concurrency and parallelism, looking at different approaches taken by languages such as JavaScript, Go, Elixir and Rust.