3 ms·
Similar to the Google Closure Compiler (https://developers.google.com/closure/compiler/ https://developers.google.com/closure/compiler/), which has been around
by paulddraper 12y ago
Similar to the Google Closure Compiler (https://developers.google.com/closure/compiler/ https://developers.google.com/closure/compiler/), which has been around for years, just with fewer features.
It has static type checking with optional type annotations and type inference.
It doesn't have compiler-time constants, dead code removal, inlining, or other optimizations.
But....still really cool.
- avik 12y agoOne obvious thing to try is to use Flow's type inference to emit GCC annotations and see whether those optimizations kick in. (Of course, Flow can also try to replicate whatever GCC does, but that will take some time. No reason not to, though.)