~/talk

The Ruby Racer: Under the Hood

Talkat LoneStarRuby Conf 2011 · 2011-08-11..08-13· [ruby, javascript]
slides:none on file

A gem embeds the V8 interpreter into the Ruby process so Ruby code evaluates JavaScript, gets direct JS object references and invokes JS functions, and JavaScript can call Ruby methods or instantiate Ruby classes. Teams run unit tests headless using jsdom and node html parser on CI, share Handlebars/Mustache templates and validation/business logic between client and server, and compile Less via the gem; garbage collection and safe-eval sandboxes are the hard engineering problems but the integration works and yields real performance and reuse benefits.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Why use the Ruby Racer
  3. 5:25What is a JavaScript runtime
  4. 7:10JavaScript objects
  5. 10:15JavaScript methods
  6. 15:55Embedded classes
  7. 17:06Property access
  8. 18:04Process access
  9. 19:35Safety Valley
  10. 22:51Multithreading
  11. 24:18Challenges
  12. 26:08Quick List
  13. 26:25Conclusion
  14. 28:10Questions
~/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.