Re:Crystal 0.25.1 released
by Blackstone4 on Friday June 29, 2018 @10:51AM
(#17424843)
Great response. [EDIT - as highlighted by the replies below you can't use Rails with Crystal...my fault for misreading the parent] I didn't quite realize that I could use Rails with Crystal. That would be make it more interesting if I knew how to use Rails ^^
[ Parent
| on HN ]
Unfortunately, you can’t use actual-Rails in Crystal (it’s written in Ruby which is similar but not exactly the same).
But there are Rails-like frameworks you can use in Crystal that are just as much fun (though understandably less mature).
Check out Amber, Lucky, and Kemal to give you an idea of what’s out there.
I would definitely recommend amber. It's probably the most rails-like, and is more mature than other solutions at this point (kemal is more like sinatra, though it is obviously more mature being rather ancient by crystal standards)
Lucky uses type safety extensively preventing a lot of bugs. My team really enjoys working with it. You should definitely check it out.
Re:Crystal 0.25.1 released
by paulcsmith on Friday June 29, 2018 @03:55PM
(#17427355)
While you can't use Rails, there are frameworks that I have heard are "similar", such as https://luckyframework.org/.
Disclaimer: I haven't used it, just read a bit about it.