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.

Ask HN: why most startups use ruby and rails?

16 pointsby alouanchiabout 11 years ago
Hi, I would like to understand why ruby and rails is used heavily in startups? Thanks.

10 comments

hkarthikabout 11 years ago
It&#x27;s because Rails is essentially a &quot;batteries included&quot; full stack framework which helps a startup focus on building a business and not on building technology infrastructure. Outside of Rails and Django, you&#x27;re left to make a lot of decisions to get the same level of functionality before you can start building even an MVP.<p>Here&#x27;s what you get out of the box with Rails:<p>1) Database schema management via Rails migrations which work great with mature RBMSs like Postgres and MySQL.<p>2) A solid ORM (ActiveRecord) which makes CRUD super easy and intuitive.<p>3) An active community with lots of open source libraries (gem) to do just about anything you want.<p>4) Highly productive ways to work with frontend (CoffeeScript) and backend (routing, controllers, active_record, etc).<p>5) Great documentation and ecosystem around it.<p>Contrast this with Go, Node, and other OSS ecosystems and you&#x27;re often left to make a lot of the decisions on your own with immature libraries. Often to get to the same place, you&#x27;ll be inventing a lot of your own infrastructure.<p>Node is probably the closest to approaching a &quot;batteries included&quot; status with the MEAN stack, but it&#x27;s not quite there yet.<p>You can certainly get all of what Rails comes with out of the box on any stack, but unless you know it really well, there&#x27;s a lot of decisions to be made. With a startup, the kind of analysis paralysis that often comes with technology decisions can really kill an idea in its early stages.
评论 #7556200 未加载
评论 #7555042 未加载
sigvefabout 11 years ago
Maybe it&#x27;s a regional thing? Where I live, Python and Django is much bigger than Ruby and Rails.
评论 #7552049 未加载
评论 #7551855 未加载
评论 #7552002 未加载
midas007about 11 years ago
Bias: I&#x27;m mostly a Ruby dev, compile OpenSSL and Ruby from source.<p>For greenfield apps, node has the advantage of being mostly the same language back- (node) and front-end (browser). Hence why Asana and others use it.<p>Python is more popular than Ruby, but they&#x27;re roughly equivalent sans religious wars.<p>The other thing is that Rails is a mature, well-defined architecture with tons and tons of gems.<p>The bower asset packages can be used straight via<p><pre><code> # Gemfile source &#x27;https:&#x2F;&#x2F;rails-assets.org&#x27; </code></pre> It&#x27;s also not hard to get gulp and phantomjs setup.<p>General advice though...<p>Build outside-in. (Frontend first, backend later)<p>Building inside-out can lead to wasting time building things that just aren&#x27;t needed.
评论 #7554972 未加载
gesmanabout 11 years ago
Because for startup to survive it needs to take minimal time from paper napkin idea pitch to production deployment. And RoR has all the bells and whistles packaged together. The quicker the time - the quicker VC&#x27;s gets return on their investment.<p>Having said that, please note that ruby on rails is one of the slowest performing frameworks:<p><a href="http://www.techempower.com/benchmarks/#section=data-r8&amp;hw=i7&amp;test=query" rel="nofollow">http:&#x2F;&#x2F;www.techempower.com&#x2F;benchmarks&#x2F;#section=data-r8&amp;hw=i7...</a>
AJ72about 11 years ago
To understand Ruby, and why anyone including a startup wants to use it, you need to understand more about its founder, Matz. He is a truly amazing individual.<p>Here&#x27;s a recent interview with Matz from RubyConf13 (Miami Nov 2013) <a href="http://multifaceted.io/2013/rubyconf-13-a-chat-with-matz/" rel="nofollow">http:&#x2F;&#x2F;multifaceted.io&#x2F;2013&#x2F;rubyconf-13-a-chat-with-matz&#x2F;</a> that may be of interest.<p>It&#x27;s about making developers happy…
评论 #7552056 未加载
评论 #7552370 未加载
sandwellabout 11 years ago
It&#x27;s quick to get started with (and it&#x27;s not PHP). It runs on *nix&#x2F;Mac OS&#x2F;Windows. Tools like scaffolding let you move on from simple CRUD stuff to business logic.<p>I&#x27;m not a rails dev but these seem like desirable properties, especially if you are working with limited resources to get a prototype or mvp going asap.
评论 #7552254 未加载
andretti1977about 11 years ago
I think because it&#x27;s easier to learn and require less code so startup may focus on product instead of code. This should be true especially if you compare RoR to java technologies, but i&#x27;m working on a project where Grails was the requirement and i think Grails has a good future because thank to Groovy it requires a lot less code but has its foundation on java frameworks (hidden to the developer) which are very stable, solid and mature (and obviously complex!)
voiduserabout 11 years ago
Well its as heavily used as other technologies I think it would be safe to say. RoR, Django, Synphony are some of the frameworks I am constantly hearing about for start ups. Just depends on the programming language preference.
teemo_cuteabout 11 years ago
Your question has already been answered at Quora:<p><a href="http://www.quora.com/Ruby-on-Rails-web-framework/Why-do-so-many-startups-use-Ruby-on-Rails" rel="nofollow">http:&#x2F;&#x2F;www.quora.com&#x2F;Ruby-on-Rails-web-framework&#x2F;Why-do-so-m...</a><p>P.S. You need to sign-in with your Google or Facebook account to view the page.
评论 #7551811 未加载
评论 #7552011 未加载
csenseabout 11 years ago
Because they don&#x27;t mind using garbage tools, as long as they are hip and trendy.
评论 #7552021 未加载
评论 #7551994 未加载
评论 #7552713 未加载