Re:Ask HN: Django v/s Rails? Please bring your pitchforks
by textread on Monday April 10, 2023 @11:04AM
(#35513198)
> By ML you mean machine learning or meta language?
I meant Machine Learning
> if you are looking for a monolith then Rails is a good option.
I am really interested in learning more about the monolithic approach that Rails advocates. What would be a good codebase to study?
I am looking for some sort of large monolith that is open source. Would Gitlab or Discourse codebase, qualify as a good candidate? I tried find the RealWorld demo app on Github, but couldn't find a canonical Hotwired-Rails7 implementation.
Re:Ask HN: Django v/s Rails? Please bring your pitchforks
by Alifatisk on Monday April 10, 2023 @01:54PM
(#35515149)
Well, Ruby itself has ML libraries like Rumale [1]. But the amount is not as rich as Pythons pypi for obvious reasons.
[1] https://github.com/yoshoku/rumale
Regarding Rails, To be honest, if you want to study Rails. I would suggest you nothing more than their official website. It's really good!
Rails is a fine framework with "batteries included", if you are looking for a monolith then Rails is a good option. I have no experience with Django but I see no reason to believe why Django would not be as capable as Rails.
As of Hotwire, It's not only for Rails, other frameworks like Laravel & Django can use it too, Hotwire is more an idea of alternative approach to SPAs.