Remix.run Logo
Crystal 1.20.0 Is Released(crystal-lang.org)
15 points by sdogruyol 16 hours ago | 4 comments
samuell 13 hours ago | parent | next [-]

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...

yxhuvud 2 hours ago | parent [-]

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.

yxhuvud 16 hours ago | parent | prev | next [-]

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).

sdogruyol 16 hours ago | parent | prev [-]

[dead]