Crystal 1.20.0 Is Released
15 points
1/21/1970
21 hours ago
by sdogruyol
Comments
samuell
17 hours ago
yxhuvud
One big difference is that go hides all access to creating threads from the user, while execution contexts allow you to spin up dedicated thread(s) to solve a particular purpose.
7 hours ago
yxhuvud
Execution contexts closing in to being enabled by default is a big one. As is the io_uring based event loop that is also finally getting merged (even though that one is also hidden behind flags).
21 hours ago
sdogruyol
[dead]
21 hours ago
So the execution model is now even more similar to Go's one, with the M:N scheduling, IIUC?
I much like to hear that, as I found Crystal to provide pretty much exactly the same concurrency primitives as Go, but with a much nicer syntax, as I compared here:
https://livesys.se/posts/crystal-concurrency-easier-syntax-t...