5 ms·
Awesome project, the performance gains seem real, but why wouldn't these optimizations be happening at the javascript JIT level in the vm? (serious question) R
by bthornbury 9y ago
Awesome project, the performance gains seem real, but why wouldn't these optimizations be happening at the javascript JIT level in the vm? (serious question)
React / javascript programming, is the most complex environment I've ever dug into, and it's only getting more complex.
create-react-app is great for hiding that complexity until you need to do something it doesn't support and then it's like gasping for air in a giant sea of javascript compilers.
- throwawaymsft 9y agodownload js -> run through JIT compiler -> execute vs. run through JIT compiler -> download js -> execute Whatever overhead the JIT compiler adds will be latency for the user.
- mbel 9y agoIn the second case it's AOT (ahead of time) not JIT (just in time) compiler.
- franciscop 9y agoBecause they'd have to happen every time for every user, so there'd be no real gain there. It has to happen as the code is published in .min.