~/talk

RubyGems to All JVM Languages

Talkat RubyConf 2010 · 2010-11-11..11-13· [ruby]
links:none on file
slides:none on file

Claim: JRuby exposes RubyGems to any JVM language by using the RedBridge embedding API to start a JRuby runtime, install or point at gems, and invoke Ruby code. Demonstrations show Clojure loading DataMapper, Jython driving Cucumber, and a Rack Rails app invoked from Java by instantiating a scripting container and evaluating code. Practical notes: pass objects via shared variables, convert strings carefully, capture stderr with a writer, set gem paths or use packaging, and use setArgumentValue to pass lists and options. Performance is workable but slightly slower than native JRuby.

AI-written summary · about

  1. 0:00Introduction
  2. 2:27JVM languages and Ruby
  3. 5:07RedBridge API overview
  4. 9:15RedBridge embedding API
  5. 12:35RedBridge in Java
  6. 14:29RedBridge with Closure & Scala
  7. 18:03Cucumber tests from Java
  8. 24:09Rails with RedBridge
  9. 30:59Q&A: RedBridge variables
  10. 33:30Q&A: Ruby strings & Java
  11. 34:57Q&A: Data sharing
  12. 36:44Q&A: Packaging gems
  13. 38:20Q&A: Ruby 1.9 & JRuby
  14. 39:54Q&A: Method eval & performance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.