~/talk

Efficient Ruby to Javascript Compilation and Applications

Talkat RubyConf 2007 · 2007-11-02..11-04· [ruby, javascript]
links:none on file
slides:none on file

A Ruby to JavaScript compiler called Ruby GS converts real Ruby semantics into faster JS by choosing tradeoffs: name mangling to shrink output, a variadic call convention to avoid allocating argument arrays (fixed calls are around two times slower), custom JS hash objects versus native object maps, and mapping Ruby strings to immutable JS strings to save memory. A partial port of Google Web Toolkit as Ruby Web Toolkit is about 30% complete; testing compiles the same Ruby file to Ruby and JS and compares outputs.

AI-written summary · about

  1. 0:00Start
  2. 13:12nslation Process
  3. 31:36Part 111
  4. 34:42er-specific code
~/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.