Crystal 1.20.0 Is Released
crystal-lang.org
Crystal 1.20.0 Is Released
1–5 of 5 posts
Re: Crystal 1.20.0 Is Released
#2[dead]
Re: Crystal 1.20.0 Is Released
#3Execution 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).
Re: Crystal 1.20.0 Is Released
#4So 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...
Re: Crystal 1.20.0 Is Released
#5So 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...
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.