Today, I am going to try a bold experiment. Coming up with a JavaScript to JavaScript optimizing compiler. Optimize for what metric? Performance of code execution (eg. how long does it take to calculate the n-th prime number). I got started after reading “Is WebAssembly magic performance pixie dust?”, an article by Surma, a Google Developer Advocate. Go check it out, it’s a balanced, thoughtful an
![A JavaScript optimizing compiler](https://cdn-ak-scissors.b.st-hatena.com/image/square/085d9269b668aba79191f33b47c09593e6218f9e/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2A8M3_tRj8cf62nfbT49Y9MA.png)