~/talk

Embracing Black Magic: The Power of Code Transpilation

links:none on file
slides:none on file

Claim: source-to-source transformers rewrite code by operating on the AST and can be composed as visitors to do real runtime things. Examples show using Babel and TypeScript and the CoffeeScript compiler; a sandbox demo transpiles every expression into a validate call and throws on forbidden strings, and an instrumenting demo injects line-dispatch calls to visualize and pause execution. Source maps are used to map back, and generators/parsers like Babylon are the actual tools that make it work.

AI-written summary · about

  1. 0:00Start
  2. 0:53Front End Development and magical thinking
  3. 3:52Source-to-source compiler
  4. 4:25Continuous code transformation during the build process
  5. 5:35Source Maps
  6. 6:55Rebellion against reality
  7. 7:05The end of the "lowest common factor" mentality
  8. 9:57CoffeeScript
  9. 10:28TypeScript
  10. 18:46Abstract Syntax Tree (AST)
  11. 22:21Composite transpilers
  12. 30:54Ordinary part of the build process
  13. 31:06Creative technique and strategy
~/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.