←back to thread

Crystal 1.16.0

(crystal-lang.org)
131 points ksec | 1 comments | | HN request time: 0s | source
Show context
futuraperdita ◴[] No.43650892[source]
I love this language but have never found a production use case for it, versus just using something less obscure like Go. It's the Ruby we wish we had in the 10s.
replies(2): >>43651299 #>>43654436 #
1. npn ◴[] No.43654436[source]
If you write some script that run for 30 minutes or so then Crystal is a great choice.

before using crystal I mostly used Ruby for scripting, but there were a lot of problems - the program often crashes after running a while due to typo/nil handling, causing a lot of time wasting - it was too slow for my case, which involving with dealing with large amount of data - doing things in parallel (fetching websites, parsing multiple files) is a lot of work, you need to use external gems for the task, and it is not always the way you want it to do

there is a lot of works spent on crystal to make it enjoyable, you almost never need external libraries to do stuffs. the standard library is big and helpful.