DEV Community

Discussion on: Supercharge your TypeScript with AssemblyScript

Collapse
 
jwp profile image
John Peters

I didn't realize Javascript compiled to native code.

Thread Thread
 
dorin profile image
Dorin

JS gets compiled to a WebAssembly-like bytecode which then gets interpreted. What WebAssembly gives us is the opportunity to skip this first compilation step, hence the better performance.