|
1 | 1 | --- |
2 | | -title: Run compiled code in your extension |
3 | | -description: How to run compiled code in your extension. |
| 2 | +title: Run compiled code in an extension |
| 3 | +description: How to run compiled code in your extension at near-native speed, by using WebAssembly (Wasm). |
4 | 4 | author: MSEdgeTeam |
5 | 5 | ms.author: msedgedevrel |
6 | 6 | ms.topic: conceptual |
7 | 7 | ms.service: microsoft-edge |
8 | 8 | ms.subservice: extensions |
9 | 9 | ms.date: 02/06/2025 |
10 | 10 | --- |
11 | | -# Run compiled code in your extension |
| 11 | +# Run compiled code in an extension |
12 | 12 |
|
13 | | -<!-- todo: improve description: yaml field by summarizing article/ key words --> |
| 13 | +You can run compiled code in your extension at near-native speed, by using WebAssembly (Wasm). |
14 | 14 |
|
15 | | -You can run compiled code in an extension at near-native speed. |
16 | | - |
17 | | -<!-- todo: |
18 | | -With this new title, it would nice to add a generic intro about running compiled code in an extension. |
19 | | -Why someone would want to do it? |
20 | | -What are the benefits. |
21 | | -tell readers to use WebAssembly immediately, only keeping the NaCl deprecation notice for a sub-section of the article. |
22 | | ---> |
| 15 | +See: |
| 16 | +* [WebAssembly](https://developer.mozilla.org/docs/WebAssembly) at MDN. |
| 17 | +* [webassembly.org](https://webassembly.org/) |
23 | 18 |
|
24 | 19 |
|
25 | 20 | <!-- ====================================================================== --> |
26 | 21 | ## Native Client (NaCl) (deprecated) |
27 | 22 |
|
28 | | -Native Client (NaCl) was a sandbox for running compiled C and C++ code in the browser efficiently and securely, independent of the user's operating system. |
29 | | - |
30 | | -To enhance web security and performance, NaCl is deprecated for Microsoft Edge, along with other browsers. |
31 | | -<!-- todo: |
32 | | -which other browsers? |
33 | | -link to deprecation notes from these other browsers |
34 | | ---> |
| 23 | +To enhance web security and performance, NaCl is deprecated for Microsoft Edge, along with other browsers. NaCl was deprecated (discouraged but still supported) starting in 2020. Support for NaCl will be discontinued starting with Microsoft Edge 138. |
35 | 24 |
|
36 | | -<!-- todo: hard or soft deprection? ie, will it still work, but discouraged? or won't work now? dates? --> |
| 25 | +Native Client (NaCl) was a sandbox for running compiled C and C++ code in the browser efficiently and securely, independent of the user's operating system. |
37 | 26 |
|
38 | | -To run compiled code in your extension, we recommend using WebAssembly instead. WebAssembly, also known as Wasm, 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. |
| 27 | +To Run compiled code in an extension, we recommend using WebAssembly instead of NaCl. WebAssembly, also known as Wasm, 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. |
39 | 28 |
|
40 | 29 | See also: |
41 | 30 | * [WebAssembly](https://developer.mozilla.org/docs/WebAssembly) at MDN. |
42 | 31 | * [webassembly.org](https://webassembly.org/) |
| 32 | +* [Native Client](https://developer.chrome.com/docs/native-client) - deprecation notice for Chrome browser.<!-- todo: link to deprecation notices for other browsers --> |
43 | 33 |
|
44 | 34 |
|
45 | 35 | <!-- ====================================================================== --> |
|
0 commit comments