Back to the future of JS II: Beyond what we can foresee
summary
Shows three concrete proposals: Pattern Matching becomes an expression with destructuring and when-guards so long if/switch chains collapse into shape-based cases; Pipeline Operator has two competing designs (smart pipeline with a # placeholder and F# with an await step), still requires arrow wrappers for extra params and leaves async semantics unresolved; Binary AST proves useful in a SpiderMonkey POC (used a static news feed), binary output is slightly smaller and creation drops from ~500–800 ms to about half, enabling much faster startup.
AI-written summary · about
chapters (18)
- 0:00Start
- 1:53Conditionals in JS
- 3:44Switch Statement
- 6:46Toy example
- 11:05Function composition in JS
- 11:25Let's cook
- 12:26Using lodash
- 13:54Function with extra params
- 14:36Handling async functions
- 16:08Smart Pipeline proposal
- 17:01Handling currying
- 17:22F# Pipeline Proposal
- 17:55Pipeline operator - summary
- 18:16Pipeline operator - rollout strategy
- 19:06JS cold start
- 20:52The cold start-up problem
- 21:45Binary AST
- 23:40Looking beyond
related talks
26mBack to the Future of JS II
31mBack to the future of JS: the next features and amazing proposals
29mBack to the future of JS: the next features and amazing proposals
39mBack to the future of JS the next features and amazing proposals
35mJSParty Live on the Future of JavaScript
11mWhat's cooking for JavaScript: a look at current TC39 proposals
53mUsing ECMAScript 6 today. Part II
17mDemystifying (JavaScript) engines
