Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah i evaluated elixir, node.js, ruby, and ocaml.

Pain points with crystal have mostly been about one of the couple packages i depend on have a breaking change. It was common for crystal to deprecate an API which makes its way to a dependency. Its less common now in the last few months. Maybe I'm just not using the lock file correctly?

There is a little verbosity when parsing user input, like JSON or query parameters, but I've embraced writing bigger schemas or logic for validating input and its made the software better.

BUT, one thing that has been absolutely important was a static compiler. I remember using node or ruby and how many bugs i would catch later in prod after refactoring. Crystal helps big there, as would elixir since its functional but its not statically typed.

Elixir scales but I'm not a huge company yet. I want raw speed right now for the few customers i have. Elixir was a close second.

Crystal compiles slower than most languages, but (except for my website) I just use it as an API server and everything else is a Preact app so I spend most time on the Preact/Webpack stack.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: