News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by tomc1985 on Monday March 22, 2021 @04:06PM (#26546142)
Ruby 3 does static typing, so that would be the quickest path for static types.

Crystal is interesting to me because its a systems language, using Ruby syntax and idioms.

I'm a Rails developer by trade but I've been pining to go back into desktop GUI development. Right now the only viable cross-platform options seem to be Swing and Electron. I'm not sure what the desktop story is with Crystal but if it there is a workable solution based on GTK or something similar I'd be very happy!

Re:Crystal 1.0 – What to expect by viraptor on Monday March 22, 2021 @07:43PM (#26549035)
Ruby 3 has static typing, but it's opt-in and doesn't affect the runtime. Here it's both enforced and directly translates to better performance.
Re:Crystal 1.0 – What to expect by iomcr on Tuesday March 23, 2021 @10:26AM (#26555414)
> Ruby 3 does static typing

Categorically, what I've seen of this falls closer to "lintable comments" than it does "actual static types". Static types are a foundational aspect of crystal, it's not like a sticker slapped on as an after thought.

Re:Crystal 1.0 – What to expect by zem on Monday March 22, 2021 @04:56PM (#26546906)
still no windows support :( desktop gui development was my main wish for crystal too, but ruling out a bunch of end users right out of the box was not an option.
Re:Crystal 1.0 – What to expect by tomc1985 on Monday March 22, 2021 @05:20PM (#26547288)
It looks like Windows support is preliminary. They are working on it...
Re:Crystal 1.0 – What to expect by atraac on Tuesday March 23, 2021 @04:12AM (#26552341)
https://github.com/crystal-lang/crystal/issues/5430

this issue tracks Windows progress, it hasn't been really updated in a while. I've been following Crystal Windows port for over a year, nothing changed yet.