~/talk

Why 'eval' makes JS the best language in the world

Talkat dotJS 2012 · 2012-11-30..12-01· [javascript]
links:none on file
slides:none on file

Claim: using eval to assemble generated JavaScript makes building a fast emulator practical. A Spectrum emulator is generated by template functions that emit JS snippets assembled into one big function and evaled as the main loop. CoffeeScript multi line strings and interpolation simplify templating. The next step is to compile Spectrum code into native JavaScript by ordering snippets but RAM writes require invalidation so that part is unimplemented. Use of indirect eval avoids slow scoped eval and restores performance.

AI-written summary · about

  1. 0:00Start
  2. 0:22Main loop
  3. 1:42Spectrum code
  4. 3:18A performance gotcha
  5. 4:00The word of God?
~/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.