UPDATED 12:57 EDT / AUGUST 06 2012

NEWS

Node.js vs. Ruby on Rails: How They Fare in the Community

Both Ruby and Node.js are gaining a lot of traction but for different reasons, and the ecosystem is a huge factor when comparing the two. That was one of the main points Brilliant.ly Will Nathan made in an article a couple months ago.

On the technical side Nathan notes that Rails has a much better set of built-in functions than Node, but the latter also has its advantages over the framework. The biggest and historically most buzzed-about trait of the language is that it’s based on JavaScript, and as result eliminates some of the hassle of server-side scripting. You can reuse code you wrote for the client side, but that’s only a legitimate consideration when a sizable size of your source code is actually written in JS (and not if it’s merely the output format of a language that compiles to it.)

At the same time, one big consideration is the ecosystem. Rails has been around 4 years longer than Node which was created in 2009, and as a result the core languages had a lot more time to add polish. Rails comes with an entire line-up of tools that Node lacks or hasn’t matched entirely yet, and it’s been field tested much more. Nathan writes:

“Rails, on the other hand, has one of the most robust (and free) sources for libraries and tools. I love The Ruby Toolbox, which actually shows you the relative popularity of Rails tools broken out by function. Additionally, as I mentioned before, many modules that would have to be hand-picked in Node.js are integrated by default in Rails…ayered on top of the modules are more tutorials and examples than one can typically find with node.js. Case in point, Railscast‘s 300+ video tutorials.”

It’s also interested to look at the two frameworks from the adoption perspective. Recently a startup named Nodejitsu rolled out its Node cloud platform into public beta, but at the same time Rails is one of the most popular languages on Github. Last month the source code site, one of the largest ones if not largest of its kind in the world, raised a massive $100 million in funding.


A message from John Furrier, co-founder of SiliconANGLE:

Your vote of support is important to us and it helps us keep the content FREE.

One click below supports our mission to provide free, deep, and relevant content.  

Join our community on YouTube

Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.

“TheCUBE is an important partner to the industry. You guys really are a part of our events and we really appreciate you coming and I know people appreciate the content you create as well” – Andy Jassy

THANK YOU