~/talk

It goes to eleven

Talkat NodeConf London 2016 · on Wednesday, 2016-05-11· [javascript, nodejs]
slides:none on file

Argues that generating code at runtime and compiling it with new Function yields major speedups for repeated validation and queries, not just theoretical fluff. Builds a JSON-query interpreter that compiles schemas into inlined checks using generate-function and generate-object-property, and benchmarks show progression from 668 matches/ms (closure baseline) to ~11,000 with a compiled closure and ~35,000 with generated functions. The technique powers is-my-json-valid style validators and works when the seed/schema changes infrequently.

AI-written summary · about

  1. 0:00Start
  2. 0:52How To Write Code That Writes Code
  3. 15:44Generate Object Property
  4. 16:18Generator Object Property
  5. 16:39Generate Function
~/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.