Skip to content

Commit b3e11ff

Browse files
committed
change filename
1 parent 97d464c commit b3e11ff

4 files changed

Lines changed: 65 additions & 53 deletions

File tree

microsoft-edge/extensions-chromium/developer-guide/native-client.md

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Run compiled code in your extension
3+
description: How to run compiled code in your extension.
4+
author: MSEdgeTeam
5+
ms.author: msedgedevrel
6+
ms.topic: conceptual
7+
ms.service: microsoft-edge
8+
ms.subservice: extensions
9+
ms.date: 02/06/2025
10+
---
11+
# Run compiled code in your extension
12+
13+
<!-- todo: improve description: yaml field by summarizing article/ key words -->
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+
-->
23+
24+
25+
<!-- ====================================================================== -->
26+
## Native Client (NaCl) (deprecated)
27+
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+
-->
35+
36+
<!-- todo: hard or soft deprection? ie, will it still work, but discouraged? or won't work now? dates? -->
37+
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.
39+
40+
See also:
41+
* [WebAssembly](https://developer.mozilla.org/docs/WebAssembly) at MDN.
42+
* [webassembly.org](https://webassembly.org/)
43+
44+
45+
<!-- ====================================================================== -->
46+
## See also
47+
48+
* [WebAssembly (Wasm)](https://webassembly.org)
49+
* [WebAssembly Migration Guide](https://developer.chrome.com/docs/native-client/migration)
50+
* [Manifest - Nacl Modules](https://developer.chrome.com/docs/extensions/mv2/manifest/nacl-modules)

microsoft-edge/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,8 +1067,8 @@
10671067
- name: Native messaging
10681068
href: extensions-chromium/developer-guide/native-messaging.md
10691069

1070-
- name: Native Client (NaCl)
1071-
href: extensions-chromium/developer-guide/native-client.md
1070+
- name: Run compiled code in your extension
1071+
href: extensions-chromium/developer-guide/run-compiled-code.md
10721072

10731073
- name: Defining match patterns for an extension to access file URLs
10741074
href: extensions-chromium/developer-guide/match-patterns.md

microsoft-edge/web-platform/site-impacting-changes.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: MSEdgeTeam
55
ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
8-
ms.date: 06/21/2024
8+
ms.date: 02/06/2025
99
---
1010
# Site compatibility-impacting changes coming to Microsoft Edge
1111

@@ -21,6 +21,18 @@ For information about upcoming Chromium project web platform changes, see [Chrom
2121
Check this article often as the Microsoft Edge team updates this article as thinking evolves, timelines solidify, and new changes are announced.
2222

2323

24+
<!-- ====================================================================== -->
25+
## Deprecation of Native Client (NaCl)
26+
27+
To enhance web security and performance, NaCl is deprecated for Microsoft Edge, along with other browsers.
28+
29+
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.
30+
31+
The vibrant ecosystem around WebAssembly (Wasm) makes it a better fit for new and existing high-performance web apps.
32+
33+
See [Native Client (NaCl) (deprecated)](../extensions-chromium/developer-guide/run-compiled-code.md#native-client-nacl-deprecated) in _Run compiled code in your extension_.
34+
35+
2436
<!-- ====================================================================== -->
2537
## Differences from the Chromium schedule, and high-impact changes
2638

0 commit comments

Comments
 (0)