Archive for April, 2008

Introducing Ruby Ain’t Hypertext Preprocessor (RAHP)

By the time of this writing, a lot of people have been claiming that Passenger will cause a revolution in the Ruby on Rails community. And even though we agree with them to a certain point ( ;-) ), we believe that one should always have a trump card in case all else fails. We’ve been working on our trump card for quite some time now in great secrecy.

Today, we’re pleased to announce this trump card to the world: Ruby Ain’t Hypertext Preprocessor (RAHP).

What is RAHP?

RAHP is a Ruby parser written in PHP, which will enable you to run all your Ruby applications within a PHP environment! This was possible due to the fact that Ruby and PHP are both Turing Complete.

Since PHP still enjoys more support among webhosts than Ruby on Rails, we’ve decided to combine the best of both worlds with RAHP. And as you may already have heard from a friend, PHP scales really well in Enterprise environments, unlike Rails applications.

But wait! It doesn’t end there! Using Zend optimizer we’ve been able to infer a tremendous performance boost, and we think we may need to retract our previous benchmark post on Ruby vs PHP. :$

Long story short:

  • RAHP will enable you to run your Rails applications pretty much on every webhost out there!
  • Because RAHP is based on PHP, your Rails applications will be able to use the thousands of existing PHP libraries with ease!
  • It is common knowledge that PHP is extremely scalable (unlike Rails). So by the transitive property, your Rails applications will become scalable as well, with the help RAHP on Rails!

Come to think of it, we’re considering to discontinue our work on Passenger in favor of RAHP. We’ll have to sleep on it though.

Stay tuned!

Comments (8)

Matz on Passenger

Recently, Yukihiro Matsumoto (a.k.a. Matz, the creator of Ruby) blogged about Phusion Passenger (mod_rails) on his weblog. Since our Japanese is a bit rusty, i.e. non-existant :-( ;-) , Matz was kind enough to mail us a summary in English from which we quote:

It is often said that Rails is weak on deployment; PHP runs fairly fast just by uploading scripts. Rails is slow on development mode, and requires restarting on production mode (and bit complex to configure). modrails might be the answer for it.

Needless to say, coming from Matz, this made us feel real warm and fuzzy from inside :D

Comments

« Previous Page « Previous Page Next entries »