Triangle.rb Notes - JRuby

JRuby

2014-06-10 by Brandon Mathis and Hiro Asari (Meetup)

Why?

  • Access to Java libraries
  • True concurrency (Rubinius also offers this)
  • JVM

Access To Java Libraries

  • Super enterprise!

Problems

  • Keep offshore oil rigs floating

Most Important Tools

  1. JRuby
  2. warble - packages JRuby project into *.war file

Benefits (JVM)

  • JVM improvements == JRuby improvements
  • Trusted platform in the enterprise
  • Deploy anywhere (TorqueBox, Tomcat, WebSphere et cetera)
  • Not just for enterprise

History

  • 2001 - started by Jor
  • 2006 - Rails support
  • 2011 - v1.6
  • 2012 - v1.7
  • 2014 - v9000?

Drawbacks

Awful startup time

  • Nailgun
  • Drip - requires much memory