~/talk

ECMAScript 6, A Better JavaScript for the Ambient Web Era

Talkat Web Directions Code 2014 · 2014-05-01..05-02· [javascript, web-platform]
slides:none on file

ECMAScript 6 claims to be feature complete and already lands in browsers incrementally, the draft is about 650 pages vs ES5.1’s 250, and major engines cut common benchmark times from seconds to ~100ms between 2008–2013 so performance is no longer the blocker. New concrete features include let and const with block scoping, the temporal dead zone rule for uninitialized bindings, and carefully designed block-function hoisting to preserve existing web compatibility.

AI-written summary · about

  1. 0:00Intro
  2. 0:40The Ambient Computing Era
  3. 2:01Each Computing Era has had Canonical Programming Languages
  4. 2:20Why JavaScript? Because "Worse is Better"
  5. 5:07How Does JavaScript Evolve?
  6. 7:02JavaScript Early history
  7. 10:16What is ECMAScript?
  8. 13:36ECMAScript: Troubled Adolescence
  9. 17:15JavaScript Performance 2008 SunSpider (Vista SPI)
  10. 17:38JavaScript Performance 2013 SunSpider 1.0.2
  11. 18:05The ECMAScript Standard Timeline
  12. 26:38The closure-in-loop problem
  13. 28:04var hoisting causes the problem
  14. 28:50ES6 can't redefine the scoping of var
  15. 29:40Other local scoping WTFS
  16. 35:50Avoid inconsistent scoping WTFS //Forward or outer reference
  17. 37:52And bogus forward references
  18. 41:17Some ES6 Declaration Rules
  19. 42:25What about Block Scoped Functions?
  20. 43:50and real browsers, disagree...
  21. 45:05Unfortunately, all browsers agree
  22. 45:30What is the common interoperable browser semantics for block function declarations?
  23. 45:46Making block scoped functions compatible with intersection semantics
  24. 46:49ECMAScript Resources
~/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.