by shawabawa3 · 8y ago · 0 comments
That was the deal breaker for me with crystal, toy project of maybe a few hundred lines of code taking 30+s to compile
edit: specifically a static release compile, with
shards build --no-debug --release --link-flags "-static"It's 80 lines and depends on kemal, radix and kilt
`shards build --no-debug --release --link-flags "-static"` takes ~60s
I can't send the full code atm, but it basically just fetches json from an endpoint, stores it in memory, and returns it in a different format on an http endpoint
My point of view is that while developing you don't need the `--release` flag, so you can get a more or less fluent experience. The few times where you need to release an app it takes longer, but for me that's acceptable.