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

How was the speedup? That's what I would use this for, not some small minification gains.



I'm gonna guess nothing. Static inline isn't going to help a language that needs to get compiled again in browsers. In all likelihood an engine like chrome will do all the optimizations they're doing and more.

It's like optimizing handwriting for readability than typing it out. You're running a transform on the code that changes the format completely, how optimized the original form is doesn't matter.


This sounds like very wrong reasoning. Yes, Chrome probably does some of this stuff, but that comes at a time cost that we could take at compile time, instead of at run time in the user's browser.


Someone on twitter seems to have done an experiment about startup time for a trivial app comparing the clojure compiler with and without Prepack:

https://twitter.com/roman01la/status/859849179149021184


Why guess when you could test it?




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

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

Search: