DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Charles O Nutter's picture

Unregistered

Feeds

aliases

  • Charles O Nutter
  • Charles Oliver Nutter
  • Charles Oliver Nutte

Charles O Nutter

9 months ago

in Dan Manges's Blog - The Power of Implementing Ruby in Ruby on Dan Manges's Blog
This isn't a factor of being implemented in Ruby; rather, it's a factor of having access to all internals as normal objects. And although MRI doesn't provide that capability, JRuby does:

<pre>
require 'java'
require 'jruby'

def examine(obj)
real = JRuby.reference(obj)
realclass = JRuby.reference(real.meta_class)
while realclass
p realclass
break unless realclass.super_class
realclass = JRuby.reference(realclass.super_class)
end
end

object = Class.new { def foo; 'foo from object'; end }.new
mixin = Module.new { def foo; 'foo from mixin'; end }

object.extend(mixin)
examine(object)
</pre>

In JRuby, as in Rubinius, all objects can be accessed as "just objects". So the same capabilities apply.

10 months ago

in JRuby with Nick Sieger - Ariejan.net on Ariejan.net
I'd strongly suggest you let the GlassFish guys know that the memory footprint is uncomfortably large. They've already started really excellent work in GlassFish V3 to make it smaller and faster and allow it to load only what you need (which in the case of JRuby on Rails wouldn't be much). And they're also keen on making JRuby on Rails a realistic option for Rails developers, so they'd love to hear from you. More input would mean more pressure to improve the GlassFish gem and to get production-ready releases of GlassFish V3 out the door.

1 year ago

in Mix, JRuby on Rails, Small Teams, Agile, and it’s Effects on the World on Oracle AppsLab
JRuby, not jRuby. Thanks for the kind words and congratulations on a great project. I agree the future is bright for JRuby. I hope we'll have opportunities to work together...in the open...in the future.
Returning? Login