3 ms·
As someone with most of my coding experience in JS/TS, what would you say is a good alternative to explore?
by rhlsthrm 6y ago
As someone with most of my coding experience in JS/TS, what would you say is a good alternative to explore?
- theshrike79 6y agoGo with goroutines and channels is a nice way to handle concurrency. At least it was the one that was easiest for me to wrap my head around and actually improved the performance of my code without weird race conditions or bugs.
- hombre_fatal 6y agoGo concurrency is basically threads + the ability to choose between classic mutex synchronization (and all the problems with that like reentrancy bugs) or burn yourself in channel hell with deadlocks and buffer bloat.
- pdimitar 6y agoHave to you agree with you there. I was pretty hyped for Go some 4-5 years ago but discovered its parallelism/concurrency model was essentially mutexes / condition variables / bounded queues when you get down to it. It's an improvement over doing it manually -- but definitely not a big one.
- vilu 6y agoAs someone who mainly writes Scala, I really enjoy working with effect types that are also monads. Cats effect, Monix and ZIO are some examples.
- pdimitar 6y agoErlang / Elixir.
- rad_gruchalski 6y agoErlang.