Comment by globular-toast
Comment by globular-toast 3 days ago
Do you really need to reinvent the wheel every time for parallel workloads? Just learn GNU parallel and write single-threaded code.
Concurrency in general isn't about parallelism. It's just about doing multiple things at the same time.
GNU Parallel is really neat, software that's so good it's boring. Closing in on being a quarter century old by now, no? I remember first reading about it in 2003 maybe?
I've also used 'fork in Picolisp a lot for this kind of thing, and also Elixir, which arguably has much nicer pipes.
But hey, it's good that Python after like thirty years or so is trying to get decent concurrency. Eventually people that use it as a first language might learn about such things too.