News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by edflsafoiewq on Monday March 22, 2021 @03:45PM (#26545805)
I just downloaded 1.0 and tried hello world. It took over 2 seconds. I hope that's just some kind of bug.
Re:Crystal 1.0 – What to expect by straight-shoota on Monday March 22, 2021 @04:11PM (#26546215)
No, that's expected. The program you wrote might be minimalistic, but there is still a lot of code under the hood for the runtime. If you compile a program that's twice as complex, you should still get roughly the same build time. FWIW The compiler builds in about 30 seconds. And it's a really complex piece of software.
Re:Crystal 1.0 – What to expect by blacksmoke16 on Monday March 22, 2021 @03:50PM (#26545888)
There is a cache that was previously cold. Subsequent runs should be faster. However compile times are longer than other languages like Go.
Re:Crystal 1.0 – What to expect by edflsafoiewq on Monday March 22, 2021 @03:58PM (#26546014)
In .cache/crystal/? 2 seconds is with that. If I delete it, the next build takes 3.