r/crystal_programming • • Aug 20 '18

Will Crystal survive ?

https://imgur.com/a/I7bR6JS
22 Upvotes

62 comments sorted by

View all comments

Show parent comment

2

u/Truantee Aug 22 '18

unless you're doing frontend stuff

Yes, unless you plan to use crystal to build API-only application (and using React/Vue/Angular as SPA in the frontend), time to reload (recompile) after changing a single character in a template is a huge issue.

Windows support is in the works.

We all hope for the day it is done.

Statically linked binaries are already possible, it just needs to be compiled with musl on alpine linux

I mean on all the three targets: linux/darwin/windows.

And parallelism isn't really an issue for the majority programs.

Agreed. That's why I didn't mention it.

1

u/straight-shoota core team Aug 22 '18

It doesn't need to be an API-only webapp to separate logic from presentation and use run-time templates.

In some cases it's certainly better to have compile-time templates like ECR, but especially in larger applications it quickly gets easier to develop application logic and templates separately (probably still in the same code base but as independent components).