TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why We're Ditching Ruby on Rails for JavaScript and Node.js

18 pointsby sandrobfcover 6 years ago

10 comments

aaronbrethorstover 6 years ago
Here&#x27;s how I interpret the author&#x27;s points:<p>1. Rails isn&#x27;t cool.<p>2. If you spend enough time hunting around, you can find Node libraries that, collectively, do everything Rails does out of the box.<p>3. Node is &quot;cool.&quot;<p>4. A third party product which has nothing to do with Rails for building native iOS apps in Ruby is no longer actively maintained.<p>5. Write once run anywhere, but this time it&#x27;ll really work!
评论 #18025833 未加载
评论 #18034379 未加载
评论 #18025871 未加载
评论 #18026498 未加载
评论 #18025887 未加载
amirrajanover 6 years ago
Owner&#x2F;CEO&#x2F;Steward of RubyMotion here.<p>1. Laurent did sell RubyMotion off (to basically retire). He sold it to me. The guy that built the mobile adaptation of A Dark Room with RubyMotion (which hit the number one spot on the AppStore _and_ the number two spot on Google Play).<p>2. Since the acquisition, there have been monthly updates to the platform, and measures to slowly open source RM under a _sustainable_ open source model.<p>3. I have since released 4 other apps using RubyMotion. Combined they have approximately 3.5 million downloads.<p>4. RubyMotion is _actually_ native (unlike React Native).<p>5. RubyMotion is definitely not cool anymore. It&#x27;s battle-hardened, &quot;just works&quot;, fast (faster than Swift in fact), and can leverage all the existing Android and iOS libraries out there (which React not-Native can&#x27;t do out of the box).<p>6. Email me and I&#x27;ll hook you up with an Indie license &lt;3.
评论 #18030654 未加载
评论 #18030014 未加载
niftichover 6 years ago
Here&#x27;s how I interpret the author&#x27;s points:<p>1. Rails was a breath of fresh air over the explicit-rather-than-implicit web frameworks of the time, but while making a splash in the startup world, it didn&#x27;t seem to be embraced in legacy bigcorp settings.<p>2. JS is an ecosystem that is mandatory on the frontend and has become viable (and actually novel) on the backend, and was eventually able to make inroads in bigcorp settings unlike Ruby. This ubiquity and agreeableness, combined with its rich array of libraries and active community, makes it compelling. As the Ruby community matured, the hype around it has died down, leading to less buzz but also less prominent innovation.<p>3. React Native is the killer SDK for making one codebase work on every relevant (mobile) platform. (Presumably, if the author were concerned with lives-on-desktop applications too, Electron would be mentioned as well.)<p>4. The core JS language is actually being worked on now and isn&#x27;t nearly as quasi-abandonware or as horrendous as it once used to be. (Some credit paid to browser-makers is missing, as every browser-maker has done their part in both trying to move the ecosystem forward in divergent ways, and then much later coming together to harmonize their implementations and resolve to work in a more coordinated way. This 10-year evolution ultimately made duct tape shims like jQuery unnecessary, which paved the way for more holistic frameworks like Ember, Knockout, Angular, and React to set a different architectural model for JS code, landing the community where it is today.)
评论 #18026379 未加载
karmakazeover 6 years ago
I had my doubts but read the post to see where I could be enlightened. Two points sums it up for me:<p><pre><code> 1. Phoenix+Elixir [a modern Rails successor] 2. [satisfy] both corporates and startups </code></pre> I don&#x27;t know who needs point 2. Perhaps consulting or a dev who only wants to learn a single stack? Not me.<p>I&#x27;ve used Rails at a scale where it hurts. Phoenix+Elixir is great if a little learning curve is okay. Spring+Java is bloated for many use cases so I have found and used microframeworks such as Javalin+Kotlin+JDBI which is far superior to Node on the back-end. For even smaller projects Go is a fine choice if you don&#x27;t mind the simplicity which is simultaneously it&#x27;s strong and weak point.
评论 #18027739 未加载
ksecover 6 years ago
&gt; Corporate world is not coping with Ruby Rails very well.<p>Now I know DHH will mention Github and Shopify as examples. But I believe both tends towards &quot;startup&quot; and aren&#x27;t very cooperate. So I will give two <i>Cooperate</i>&quot; examples,<p>Bloomberg News - I really wish they share more about the Rails Stack.<p>Apple Music - Not sure that is changed, but their first version of Apple Music I believe was on Ruby Rails.<p>The main reason, or the main point the author was <i>trying</i> to get across,( some interrupted as not being <i>Cool</i> ) I think are Ruby, and Rails, as one or as separate subject, lacks the direction, and more importantly the momentum. It is definitely not dead, far from it, but it is not growing either. And I guess the author simply bet on node.js is more like Javascript will continue to grow and survive for the next 10 years.<p>Python and Go had Google, PHP had Facebook, Java had Oracle, .Net had Microsoft, Ruby and Rails manage to come this far without any major backing, all just open source and works from communities. And the communities should be proud of this.<p>P.S - I still believe TruffleRuby will make Rails Great again.
natecavanaughover 6 years ago
While I agree with the general sentiment only because I could never really get into Ruby beyond basic loops, and am beyond comfortable with JS, but it&#x27;s hard to take this JS evangelism seriously when their site doesn&#x27;t even scroll right on mobile. That pattern of behavior is often indicative that the engineers care more about their concerns than their users, and in that case, why should we care? If you&#x27;re not using the tech to solve your users problems, but just using it to hammer your perceived nails, the choice of tech is unimportant, IMHO. I&#x27;m probably nitpicking things, but if you&#x27;re going to proselytize one path, show the best usage of it, not show off the worst usages of it in the presentation of it&#x27;s benefits.
galaxyLogicover 6 years ago
You can do it both in Node.is and Rails. But the cool-factor matters because cool means momentum.<p>And you have to make the choice of which platform you will be building your company&#x27;s expertise on. If it is yesteryear&#x27;s tech that&#x27;s not good in the long run.<p>No need to migrate your existing systems but for new development the platform with momentum behind it (= cool-factor) is often better businesswise.
评论 #18026080 未加载
drumover 6 years ago
It seems like the core of the argument is Javascript has wider adoption than Ruby, in enterprise and startups.<p>I was expecting a more technical comparisons to Rails and Node. The point made about Ruby not being adopted by well established companies seems half true considering adoption of Rails - AirBnB, Twitter, Coinbase, Github, etc
评论 #18025939 未加载
pcarolanover 6 years ago
Good idea. This approach should definitely drive recurring consultancy revenue!
评论 #18026066 未加载
e67f70028a46fbaover 6 years ago
the willingness to be uncool may become a powerful competitive advantage
评论 #18025829 未加载