From: David Masover Date: 2009-12-08T10:19:56+09:00 Subject: Re: Wordpress Port 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. JRuby doesn't compile Ruby to Java, it compiles Ruby to JVM bytecode. 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.