JVM Polyglot Programming: JRuby FTW!
summary
Concrete JRuby recipes for calling JVM languages: shows JRuby+JVM interop by loading JARs and using gems like jrj and cloj, calls Clojure to run Overtone music, uses Clojure futures to spin work into cancellable threads and demonstrates cancelling the sound, uses Clojure STM (do‑sync) to get STM rollback semantics on bank-account transfers, and runs Scala parallel collections and Scala actors to compute π with 8 workers. Demos have UI glitches but code examples execute and interoperate as shown.
AI-written summary · about
chapters (7)
- 0:00Introduction and setup
- 2:58JVM architecture overview
- 7:11Clojure and concurrency
- 16:55Advanced concurrency patterns
- 20:36Software transactional memory
- 28:56Bridging Java to Ruby
- 33:31Scala and actor models








