This story is unavailable.

You’re right that native machine code will pretty much always be faster than interpreted code on a virtual machine, but the gap between (for example) fast JavaScript VMs and native is becoming smaller and smaller.

We found the big killer was not JavaScript’s performance per se, but the constant transfer of large amounts of memory across (virtual to native) machine boundaries.

In case it wasn’t clear in the article- the app in question here is still a hybrid HTML web app, we just put the realtime audio processing into a native module that barely has to cross the machine-machine boundary at all.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.