Re:Languages on BEAM, the Erlang virtual machine
by devmunchies on Friday January 20, 2017 @10:32PM
(#13448599)
I've been building an app on crystal and really enjoy it but have noticed some of the growing pains as it ramps up to 1.0.
Its great but may not quite be ready for production unless you don't mind fixing the occasional breaking changes. Its supposed to hit 1.0 this year.
Re:Languages on BEAM, the Erlang virtual machine
by danappelxx on Friday January 20, 2017 @11:56PM
(#13448893)
But Crystal doesn't run on BEAM, which (I assume!) is something OP was looking for.
Re:Languages on BEAM, the Erlang virtual machine
by goatlover on Saturday January 21, 2017 @12:19AM
(#13448953)
Right, but my post was in response to the one above about how we don't need another dynamic language because a statically typed language like Go is so much better at catching errors. Even though you have to write more code while being restricted in what can be expressed. Thus, Crystal makes sense, best of both worlds, and what not.
Of course if you're looking for functional on Beam, then neither Go or Crystal are good comparisons.
Re:Languages on BEAM, the Erlang virtual machine
by lobster_johnson on Friday January 20, 2017 @10:39PM
(#13448614)
Yes, Crystal's type inference looks really promising. I hope it will gain enough momentum.
That way, you get the expressiveness of Ruby (mostly) with the benefits of static compilation. It also has macros to make up for some of the missing metaprogramming.