Embracing Collaboration with JRuby and JavaScript
summary
Claims a pragmatic bridge: JRuby + Rhino runs JavaScript from Ruby, Node/V8 hits ~3700 req/s, but fine‑grained bridge calls tank a 10,000‑item loop (0.04s coarse vs ~6.99s per tight eval). Builds: CloudKit + jQuery‑CloudKit, snarl context loader, a JS database with localStorage and append‑only server file, JSON Query and JSON Schema for client/server validation and indexing. Experiments remain nonproduction; LLVM/Ruby→JS is proposed future. machine‑based collaboration dry principle one‑line resource exposure
AI-written summary · about
chapters (18)
- 0:00Start
- 0:42Engine Yard Cloud
- 5:03strategies
- 9:47cappuccino / objective-j
- 12:08embracing javascript
- 13:35RESTful Collections
- 16:32intersection of themes
- 18:36write two versions? server and client?
- 19:44spidermonkey
- 21:15crossing from jruby to java
- 26:57validation
- 30:54collaboration : machine
- 33:21adapter
- 34:56middleware / auth : rack
- 35:14integration with existing ruby apps
- 35:26step further : reduce context switching
- 35:46mount js middleware using snarl
- 37:22ownership








