Fun experiment idea: standalone, synchronous acorn-based scope hoisting module. Reusable by all JS compilers 
If you check out browserify it adds require semantics to the module. Takes a while to walk all statements - hoisting to same scope is faster
-
-
There are like compilers that center themselves completely around this optimization. I'd love to have it just as a transform (:
-
keen! once upon a time i started with https://github.com/ahdinosaur/es-modulesify …, but i got bored with having no real-world reason for these optimizations.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.