Prepack, a partial JavaScript evaluator and optimising compiler we've developed at FB, has just been open sourced! https://prepack.io/
-
-
Replying to @sebmck @jlongster
will this really perform better with e.g. V8 Ignition and TurboFan pipeline?
1 reply 0 retweets 2 likes -
Replying to @Fishrock123 @jlongster
Maybe. It removes code that's executed on startup. No matter how optimised that code is removing it will always be faster.
1 reply 0 retweets 8 likes -
Note that Prepack is only applicable (at the moment) to code on the init path. This is more akin to a minifier that removes dead code.
1 reply 0 retweets 5 likes -
-
Replying to @Fishrock123 @jlongster
This is literally executing your JavaScript and is backed by an actual ECMA262 interpreter. It can handle very dynamic code.
3 replies 0 retweets 4 likes
You can see on the homepage some results that a minifier would not be able to produce without having an actual interpreter.
10:42 AM - 3 May 2017
0 replies
0 retweets
2 likes
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.
he/him 