~/talk

llhttp - new HTTP 1.1 parser for Node.js

Talkat JSConf EU 2019 · 2019-06-01..06-02· [nodejs, javascript]
slides:none on file

A new C parser is generated from TypeScript using a small DSL called llparse that compiles parser state graphs and does static checks and peephole optimizations, producing llhttp is twice as fast than the old parser, ships as Node 12’s default, and preserves the original comprehensive tests ported to markdown. The build is concrete: TypeScript DSL llparse compiles to C, matches and range callbacks are implemented, and benchmarks and tests show the replacement actually works.

AI-written summary · about

  1. 0:00Start
  2. 7:27Scan input One character at time
  3. 11:06match
  4. 11:49pattern-to-number
  5. 12:37span
  6. 13:32otherwise
~/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.