News for hackers. Stuff that matters.
Re:Go vs. Crystal Performance by Exuma on Tuesday June 23, 2020 @12:31PM (#23616256)
Is there any web framework for it, like rails? That's really the main reason I use ruby is because as a single developer it's amazingly fast to set up new apps (admin panels, reporting panels, sales funnels, etc). The out-of-the-box functionality of rails makes this super painless. I'd LOVE to use something faster but I don't really want to have to custom write a lot of things (CSRF, sessions, cookies, blah blah).

Also, how do you handle jobs with Crystal? Sidekiq being the common one for ruby.

Re:Go vs. Crystal Performance by paulcsmith on Tuesday June 23, 2020 @03:26PM (#23618979)
Hello! I'm the creator of the Lucky web framework https://luckyframework.org. I've been building it for about 3 years and we've got a number of people using it in production.

It still lacks some features found in bigger frameworks, but is nearing 1.0 and gaining many new contributors that are helping us fill in the gaps.

Feel free to hop on our chatroom to ask questions about it. We try to be super friendly and love answering questions and getting feedback https://gitter.im/luckyframework/Lobby

Re:Go vs. Crystal Performance by Exuma on Tuesday June 23, 2020 @04:32PM (#23619839)
Awesome, thanks!! What would you say the top 2-3 missing things are currently?
Re:Go vs. Crystal Performance by paulcsmith on Thursday June 25, 2020 @10:44AM (#23641321)
Right now I'd say we need to make it easier to work with nested params so you can easily save Parent + (n) children. Easier handling of uploaded files is another big one. It's being actively worked on right now. There are a few more escape hatches that are needed when you need to break out of the framework. But overall it is fairly full featured.

You can check out our roadmap to 1.0 here: https://docs.google.com/document/d/1EYzx37Kq5h7iLH9SQTFyXNwb...

Re:Go vs. Crystal Performance by obahareth on Tuesday June 23, 2020 @12:42PM (#23616399)
There are a couple but I think the most Rails-like are Amber or Lucky: https://amberframework.org/ https://luckyframework.org/

There's also sidekiq.cr from the same person who made Sidekiq for Ruby: https://github.com/mperham/sidekiq.cr

Re:Go vs. Crystal Performance by ksec on Tuesday June 23, 2020 @01:07PM (#23616869)
I just dont think Amber or Lucky's ORM are anywhere near as good / clear / concise as ActiveRecord.

But both are still very early stage of dev. Is Amber still being developed?

Edit: Looks like Amber had a new release a few days ago, and GitHub got a new design?

Re:Go vs. Crystal Performance by paulcsmith on Tuesday June 23, 2020 @03:24PM (#23618950)
author of Lucky here. Would love to hear what you don't like about Lucky's ORM (Avram). It is not quite as feature complete as ActiveRecord, but in some ways it has more features (like being able to do more advanced queries in Crystal `>`, `ILIKE`, etc.
Re:Go vs. Crystal Performance by iomcr on Wednesday June 24, 2020 @11:36AM (#23629140)
clear is also an ORM you could check out.

https://clear.gitbook.io/project/

Re:Go vs. Crystal Performance by awb on Tuesday June 23, 2020 @01:05PM (#23616826)
Kemal is Sinatra-like: https://kemalcr.com/
Re:Go vs. Crystal Performance by AlchemistCamp on Tuesday June 23, 2020 @04:18PM (#23619670)
Re:Go vs. Crystal Performance by etherio on Tuesday June 23, 2020 @03:58PM (#23619434)
I really liked amber, very similar to rails. Lucky is a bit more different so a bigger learning curve coming from raila