Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder if it's the compiled code entirely or also the architecture. Babel has a notoriously flexible design with tons of extensions reaching in and messing with things.

I'd bet that you could probably get close to 2x the performance if you stripped it down to the same feature set (it would still be 2-3x slower, but a dramatic improvement).



That's basically what Sucrase.js is:

https://github.com/alangpierce/sucrase




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

Search: