- What is SharePoint 2010? Vision and Reality
view comments - Myths & Realities of Drupal
view comments - Knowledge Management in 2012? Probably Dead
view comments - iPad 3 vs. New Samsung Tablet: War Starts in February
view comments - iPad 3 to be Unveiled by Apple in Early March
view comments - 5 Signs Your Company Doesn't Get Social Business
view comments - 5 Critical Steps to SharePoint Information Architecture Planning
view comments - Knowledge Management Meets Social Business: KM is Dead, Long Live KM!
view comments
Ruby Conference: Mongrel and Rubinius Take Love to Town
The Ruby Conference concluded Sunday with Ezra Zygmuntowicz's talk on Mongrel — entitled Building Custom Mongrel Handlers for Speed and Concurrency — and a discussion on Rubinius by Evan Phoenix.
To highlight the merits of their offerings they note a few philosophical issues with Ruby and Rails, respectively.
Mongrel, a fast HTTP library and server, hosts Ruby apps using HTTP instead of FastCGI or SCGI. The framework agnostic solution supports Ruby on Rails, Og+Nitro, IOWA and Camping.
Ezra passionately contends it is a common myth that Ruby is slow. In fact, he believes, Rails is slow and Ruby is quite sound.
To back up his point he points out that each recent new release of Rails has been 10-20 percent slower than the last. It is time for the “premature optimization” that, given the rapid maturity process of the programming framework and the increasing cumbersome feel to Rails, would not be quite so premature anymore.
Rails has also become more bloated with increased participatory interest by “too many people.” His response to Rails' heftiness is an offering called Merb, a Mongrel+Erb mash-up that started out as a hack. Its benefits:
- No cgi.rg
- It's thread-safe (Ruby generally isn't)
- Rails-compatible REST routing
- Less Magic (too much Magic, he contends, is one of Rails' problems)
- It's what you end up with anyway if you keep writing custom Mongrel handlers
Nice logic on the last one. If everybody's already beating the path there, why not just cut to the chase?
Check out Mongrel at Rubyforge. Note that the best way to install it is via Gems. Then run a Ruby on Rails app. All the instructions are right on the website.
Evan Phoenix begins his Rubinius discussion with a series of philosophical positions.
The Rubinius mantra is “If it can be done on Ruby, it shouldn't be done in C.” To obliquely highlight this point he later notes that programmers ultimately build for an end consumer, so keep things simple and easily scalable. This is something to keep in mind when engaging in web development.
In essence Rubinius is a project meant to create a Ruby implementation. Its virtual machine “shotgun” is based on Smalltalk-80 VM architecture. C extensions written for Ruby run easily under shotgun with a recompile.
Rubinius boasts the following:
- A new Ruby engine
- Bytecode virtual machine foundation
- Generational garbage collection. It merits noting in the JRuby discussion that garbage collection in Ruby is an ongoing problem
It also covers five core sections: CPU, primitives, a compiler, object memory/garbage collection and a core library.
Evan adds that while every presenter in the conference has highlighted Ruby limitations to showcase their products, these limitations are not problems with Ruby itself. They're problems with the current interpreter, not the language. At present the interpreter doesn't provide a wide avenue for fixes, which comes off to some as problems with the language.
Continue reading this article:
Featured Events View all
| Add event
|
RSS
- Feb 22, 2012 – Intelligent Content Palm Springs 2012
- Feb 26, 2012 – SPTechCon - Sharepoint Conference San Francisco 2012
- Feb 28, 2012 – (Webinar) How to Build Great Mobile Websites
- Mar 6, 2012 – Get Social with Microsoft & Telligent in Dallas
- Mar 8, 2012 – Get Social with Microsoft & Telligent in New York
Who's Hiring? View all
| Post a job
|
RSS
- Web Content Manager in Newport Beach at Orange County Museum of Art
- Principal Business Consultant in Paris at Saba
- Director of Customer Success Management in Nova Scotia at Radian6
- Software Engineer -- Media Solutions in Bucharest at Adobe
- Technical Writer in Charleston at Blackbaud
- Interaction Designer in Maryland at Inmedius
- Project Manager in London at Brandworkz
- Sales Director, Consumer Electronics at Synacor

Receive
the Free CMSWire Newsletter
Email It