Edit

Share via


Run compiled code in an extension

You can run compiled code in your extension at near-native speed, by using WebAssembly (Wasm). WebAssembly is a low-level assembly-like language which many other languages, such as C, C++, or Rust, can compile to, and which can run at near native-speed in web browsers.

See:

Native Client (NaCl) no longer supported

To enhance web security and performance, Native Client (NaCl) is no longer supported by Microsoft Edge (along with other browsers). Native Client (NaCl) was supported through Edge version 115. In 116 to 119, NaCl was only usable by enabling an enterprise policy. Starting with 120 (December 2023), support for NaCl was completely removed.

NaCl is a sandbox for running compiled C and C++ code in browsers efficiently and securely, independently of the user's operating system. WebAssembly (Wasm) is recommended instead of NaCl.

See also:

To Run compiled code in an extension, we recommend using WebAssembly instead of NaCl. See: