~/talk

Please wait... loading: a tale of two loaders

Talkat JSConf EU 2018 · on Sunday, 2018-06-03· [javascript, nodejs]
slides:none on file

Browser support reaches ESModules in 3 of 4 browsers while Node still ships CommonJS via require(), creating concrete interoperability gaps: different loading phases (sync CJS vs async ESM), resolution rules (bare imports and directory resolution in Node vs explicit file-extensions in browsers), and execution goals. Node 10.2 adds named exports from core modules, import.meta.url appears as a CJS bridge, and dynamic import returns promises. A 42-member Node modules team with broad company and country representation works toward a practical path so npm packages can run in Node and the browser without a build step.

AI-written summary · about

  1. 0:00Start
  2. 3:16Ripped out of standards track NEVER SEEN AGAIN
  3. 4:16ESMODULES LANDED IN ECMA262 IN 2015
  4. 4:51SYNCHRONOUS LOAD
  5. 5:29NO LOAD STEP
  6. 8:45THEY ARE NOT INTERCHANGEABLE
  7. 9:09SPECIFIER RESOLUTION ALGORITHM... ...is also different!
  8. 10:05CURRENTLY THE WEB DOES NOT SUPPORT BARE IMPORTS
  9. 11:34BEHAVIOR DIFFERENCE WILL ROBINSON A DANGER A
  10. 11:54Script Strict -Script Sloppy
  11. 12:05WHAT IS A TOP LEVEL GRAMMAR?
  12. 13:24ES Modules do not have in source way OF DETERMINING GOAL
  13. 14:47PAVING A COWPATH
  14. 15:01INTEROPERABILITY
  15. 16:32ESM does not have a way TO INJECT LEXICALLY SCOPE VARIABLES
  16. 17:06IMPORT.META TO THE RESCUE
  17. 19:09ENTER THE NODE.JS MODULES TEAM
~/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.