JRuby
All Sorts of Cool Stuff
Me

• Charles Oliver Nutter
• JRuby Architect at Engine Yard
• Java developer since 1997
• JRuby developer since 2005
• @headius, headius@headius.com
JRuby

• Ruby on JVM
• Latest release: 1.5.1
• Ruby 1.8.7 compat, 1.9.2 coming
• It’s Just Ruby!
 • (It’s Not Just Ruby!)
Boring Stuff

• Trivial install: unpack, run (only prereq: Java)
• Performance is great, ~1.9
• Rails etc run great
 • Production users since 2007
• Most mature, most stable alternative Ruby
Cool Stuff

• Native threads (real concurrency!)
• Java/JVM integration
• Tooling and maturity
• New frontiers
Native Threads

• Ruby Thread :: Native Thread
 • Thread.new # real system-level thread
• One process can saturate all cores
 • One Rails instance for a whole site
Scaling Rails
Platform Integration

• Use any Java library like it’s a Ruby library
• No-compile, single-file deployments
• Cross-platform GUI libraries
Using a Library
Tooling and Maturity

• Editor/IDE support with bonuses
• Debugging tools
• Profiling, memory tools
• Commercial JVM environments
Tools
New Frontiers
• Google AppEngine
 • Java or Python only (...or JRuby!)
• Android
 • Java-mostly (...or JRuby!)
• Anywhere with a Java server
 • Deploy like any other application
Android
Your Turn

• Just try it!
• Tell everyone
• Let us know what you need
JRuby Book!
For The Managers

• Three fulltime devs at Engine Yard
• Support, professional services
 • And OSS-style IRC/email support
• Engine Yard Cloud (soon!)
• Well-established, mature, stable
Thanks!

• http://jruby.org
• http://wiki.jruby.org
• http://bugs.jruby.org
• http://engineyard.com/jruby
• http://blog.headius.com

Ruby Midwest 2010 jRuby by Charles Nutter

  • 1.
  • 2.
    Me • Charles OliverNutter • JRuby Architect at Engine Yard • Java developer since 1997 • JRuby developer since 2005 • @headius, headius@headius.com
  • 3.
    JRuby • Ruby onJVM • Latest release: 1.5.1 • Ruby 1.8.7 compat, 1.9.2 coming • It’s Just Ruby! • (It’s Not Just Ruby!)
  • 4.
    Boring Stuff • Trivialinstall: unpack, run (only prereq: Java) • Performance is great, ~1.9 • Rails etc run great • Production users since 2007 • Most mature, most stable alternative Ruby
  • 5.
    Cool Stuff • Nativethreads (real concurrency!) • Java/JVM integration • Tooling and maturity • New frontiers
  • 6.
    Native Threads • RubyThread :: Native Thread • Thread.new # real system-level thread • One process can saturate all cores • One Rails instance for a whole site
  • 7.
  • 8.
    Platform Integration • Useany Java library like it’s a Ruby library • No-compile, single-file deployments • Cross-platform GUI libraries
  • 9.
  • 10.
    Tooling and Maturity •Editor/IDE support with bonuses • Debugging tools • Profiling, memory tools • Commercial JVM environments
  • 11.
  • 12.
    New Frontiers • GoogleAppEngine • Java or Python only (...or JRuby!) • Android • Java-mostly (...or JRuby!) • Anywhere with a Java server • Deploy like any other application
  • 13.
  • 14.
    Your Turn • Justtry it! • Tell everyone • Let us know what you need
  • 15.
  • 16.
    For The Managers •Three fulltime devs at Engine Yard • Support, professional services • And OSS-style IRC/email support • Engine Yard Cloud (soon!) • Well-established, mature, stable
  • 17.
    Thanks! • http://jruby.org • http://wiki.jruby.org •http://bugs.jruby.org • http://engineyard.com/jruby • http://blog.headius.com