News for hackers. Stuff that matters.

blacksmoke16

Re:Crystal: Fast as C, Slick as Ruby with Tom Richards on Sunday March 10, 2024 @12:13PM (#39660287)
Keep in mind a good portion of the compile times for an application is dependent on what the code is doing and your hardware. I.e. just because Lucky is slow in this regard doesn't mean every project/framework is going to be just as bad. E.g. I can compile a dev build of the compiler in 20s.

Also I don't personally use an LSP, but the VSCode extension recently was re-written: https://forum.crystal-lang.org/t/crystal-vscode-extension-v0.... So may be worth checking out again. Or just don't use an LSP ;)

Re:Book: Crystal Programming on Wednesday May 25, 2022 @11:14AM (#31505729)
> How much is Ruby knowledge assumed though?

It doesn't cover the absolute basics of programming, but the only references to Ruby are mainly in the introduction. It's written from the viewpoint of someone learning Crystal, so you should have no problem following along, even without Ruby experience.

Re:Crystal 1.0 – What to expect on Monday March 22, 2021 @08:32PM (#26549421)
There's also https://athenaframework.org, which takes its inspiration from more of a Spring/Symfony based approach. Brings some new ideas & unique features into the space mostly dominated by Rubyesque frameworks.
Re:Crystal 1.0 – What to expect 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 on Monday March 22, 2021 @03:40PM (#26545740)
There are also other options: https://github.com/veelenga/awesome-crystal#web-frameworks.

https://athenaframework.org is pretty unique. It's one of the more flexible frameworks IMO. It was inspired by Symfony and Spring, so takes a bit of a different approach as most other frameworks come from a more Ruby background.