7 ms·
Went in thinking "Have you heard of Go?"... but this turned out to be about GPU computing.
by SamInTheShell 11mo ago
Went in thinking "Have you heard of Go?"... but this turned out to be about GPU computing.
- nasretdinov 11mo agoWell, they said "good" :). Go we already have, that is correct. P.S. I'm joking, I do love Go, even though it's by no means a perfect language to write parallel applications with
- SamInTheShell 10mo agoHaha, yeah. Idk any other language where I practically get a free parallelization+concurrency sandwich. It's kept me coming back to Go for a decade now, despite them using a signal that prevents using it for system level libraries. They literally broke my libnss-go package years ago when they selected the signal to use to control the concurrency portion of the runtime.
- pdimitar 10mo agoElixir. Parallelism is trivial and front-and-center. And no it's not a niche language. Don't listen to the army of Python technicians.
- SamInTheShell 10mo agoThere seems to be about the same level of effort with Elixir as there is for a language like Kotlin. The free sandwich I'm referring to with Go is the ability to just do `go funcnamehere()` and that's running concurrently and in parallel. If I need coordination of those goroutines, I can still do that with any number of locking patterns. It's extremely convenient, making the trade off of having a runtime baked in worth it imo.
- pdimitar 10mo agoWell, almost exactly the same goes for Elixir. You have to declare a supervisor first but from then on it's trivial, almost on the level of `go doThisThing()`. That's why I made Elixir my main language. A lot of the tech sphere stubbornly pretends we don't live in a world with multicore CPUs, even to this day.
- deleted 11mo ago[deleted]