Naclwebplugin
NaCl allowed developers to compile native code into executable modules (called
<!DOCTYPE html> <html> <head> <title>NaCl Example</title> </head> <body> <embed id="nacl_module" type="application/x-nacl" src="my_module.nmf" width="400" height="300" /> <script> var module = document.getElementById('nacl_module'); module.addEventListener('message', function(evt) console.log('From C++: ' + evt.data); ); module.postMessage('Hello from JS'); </script> </body> </html> naclwebplugin
technology, which sandboxes executable C/C++ code within the browser for speed and security. How to Install and Enable It NaCl allowed developers to compile native code into