Hacker News new | past | comments | ask | show | jobs | submit login

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.




Because 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.


download 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.


In the second case it's AOT (ahead of time) not JIT (just in time) compiler.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: