News for hackers. Stuff that matters.
Re:Bringing Ruby's ActiveRecord to Java by nwp on Monday March 28, 2011 @06:43PM (#2380449)
Why not just use JRuby?
Re:Bringing Ruby's ActiveRecord to Java by jshen on Monday March 28, 2011 @07:41PM (#2380625)
I was thinking the exact same thing. My superficial reaction is that they could embed jruby in their java code and use the real active record model. this would let them reuse the validation logic and all that good stuff.

I'm really curious if they explored this possibility, and if so why they rejected it.

Re:Bringing Ruby's ActiveRecord to Java by alttab on Monday March 28, 2011 @09:58PM (#2381012)
I immediately jumped to this conclusion as well. I judge that it may not have occurred to them. If most of their experience was in Java they may not have thought of embedding as a solution.
Re:Bringing Ruby's ActiveRecord to Java by Stormbringer on Monday March 28, 2011 @11:07PM (#2381189)
I think there is more to this story than is being told. They say:

"However, we evolved to need something more than Ruby."

Maybe they don't want to be seen as bashing Ruby and thus inciting a pointless language flamewar, but it would be interesting to know what problem or set of problems became the pebble in their shoe that eventually they couldn't stand it anymore.

'Evolved' kind of implies a smooth and natural progression, whereas swapping languages is often more ... abrupt.