Time For Some Structure in Our Concurrency
(digma.ai)
from LadyLeeLoosh@programming.dev to programming@programming.dev on 27 Nov 2023 10:14
https://programming.dev/post/6458031
from LadyLeeLoosh@programming.dev to programming@programming.dev on 27 Nov 2023 10:14
https://programming.dev/post/6458031
cross-posted from: programming.dev/post/6143790
This proposal aims to as the name implies bring more structure to concurrent programming. This will be done by treating related tasks that are running in different threads as a single unit. Thus making it easier for us to manage the state, and also keep an eye on what’s happening.
Note: we won’t be diving into the synchronized keyword, or the Lock interfaces which offer additional capabilities compared to synchronized. But they’re certainly also worth looking into, but which flavour of lock fits best depends on your thread safety & performance requirements.
threaded - newest
People be always trying to invent Erlang.
Or use ZIO. zio.dev