A Shimblance of Success
summary
Built-ins often run slower, behave inconsistently across engines, and shims are frequently partial or break specs; measurable regressions and traps crop up in things like bind, Object.defineProperties and string whitespace. Replacing shims with a thin library layer delivers consistent semantics, adds Lo-Dash library conveniences like callback shorthands, uses Set for uniqueness and enables optimizations such as binary-search lookups and shortcut fusion so many chains execute far fewer iterations and actually improve real-world performance.
AI-written summary · about
chapters (12)
- 0:00Intro
- 1:07The Stack Application
- 1:41We Think They're
- 2:02Lackluster Perf
- 3:23No Expansion
- 4:27Two Left Feet
- 6:44Not a Silver Bullet
- 7:54Partial Shims FTL
- 9:26The Cool
- 10:13Callback Shorthands
- 11:22Faster Array Search
- 12:48Shortcut Fusion
related talks
18mJSConf 2015 John David Dalton
33mThe story of when assumption met a magic hat
11m99 Ways to Take Away Your Ugly Polyfills
56mThe Better Parts
31mJavaScript Compilation Techniques or "Wasn't JavaScript supposed to be slow?"
32mBreak all the rules
56mComponents and Modules
54mThe Things Scala js Does to Make Your Code Fast
