From: Marnen Laibow-Koser Date: 2009-12-08T13:11:18+09:00 Subject: Re: Wordpress Port David Masover wrote: > On Monday 07 December 2009 05:05:19 pm pharrington wrote: >> On Dec 7, 4:41 pm, Marnen Laibow-Koser wrote: > >> > Seriously, I'm not even sure it's that bad of an idea. Writing Java in >> > Ruby certainly works well; why shouldn't writing PHP in Ruby? > >> Well, JRuby is Ruby running under the JVM, which I wouldn't quite call >> "writing Java in Ruby." > > In particular, there isn't any sort of PHP VM that we could meaningfully > target. We'd be compiling Ruby to PHP, at best. Well, there are a couple of PHP compilers, as well as Quercus... > JRuby doesn't compile > Ruby to > Java, it compiles Ruby to JVM bytecode. Yes, I know. > > The rest of this is true, also: > >> The JVM has alot going for it: fantastic >> performance, rich set of libraries, everything runs it, threads that >> run in parallel, etc. I don't see any of those benefits for trying to >> get Ruby interoperability with PHP. > > The "rich set of libraries" is the only benefit I can see for PHP, and > I'm > very skeptical -- not just of quantity, but of quality. Is this skepticism based on anything other than being a Smug Ruby Weenie [TM]? I spent about 4 happy, productive years as a PHP developer, and enjoyed working both with the language and the many good libraries. Of course, everything's done to higher standards in the Ruby community. But that's because Ruby's so good, not because PHP's so bad. Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.