Manually managing memory

Languages such as C/C++ are on their own in terms of memory management. In such languages, you have to allocate the memory and de-allocate it all by yourself. This is the reason why C/C++ are so fast--because they're very close to the hardware, and almost no abstraction is there. But that makes it painful to write complex applications because things can slip out of hand real quick.

There is something called as WebAssembly, which is the compiled form of a JavaScript alternative on the web. C/C++ code can be compiled down to WebAssembly, which is in some cases 100-200% faster than native JavaScript!

WebAssembly is going to be the future of the web because of its speed and multiple types of language support. However, ...

Get Learn ECMAScript - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.