File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>  
2+ < html  lang ="en "> 
3+ 
4+ < head > 
5+  < meta  charset ="UTF-8 "> 
6+  < meta  name ="viewport " content ="width=device-width, initial-scale=1.0 "> 
7+  < title > WebAssembly(wasm)编译目标</ title > 
8+  < style > 
9+  h1  {
10+  text-align :  center;
11+  }
12+  </ style > 
13+ </ head > 
14+ 
15+ < body > 
16+  < h1 > WebAssembly(wasm)编译目标</ h1 > 
17+  < hr  /> 
18+  < script > 
19+  if  ( 'WebAssembly'  in  window )  { 
20+  alert ( 'OK,您的浏览器支持WebAssembly!' ) ; 
21+  }  else  { 
22+  alert ( 'NO,您的浏览器不支持WebAssembly!' ) ; 
23+  } 
24+  </ script > 
25+ </ body > 
26+ 
27+ </ html > 
Original file line number Diff line number Diff line change 88
99### [ WebAssembly] ( https://developer.mozilla.org/zh-CN/docs/WebAssembly ) 是什么? 
1010
11- [ WebAssembly] ( https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts )  是一种能把** 除了JavaScript** 以外的编程语言编写的代码经过编译器编译转换为能在现代浏览器中运行的代码的技术。
11+ [ WebAssembly] ( https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts )  是一种能把** 除了JavaScript** 以外的编程语言(C/C++、C#、Go、Java、Rust、Python等)编写的代码,经过编译器编译转换为能在现代浏览器中运行的代码.wasm的技术。
12+ 
13+ [ WebAssembly] ( https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts )  是一种高性能二进制格式、用于在各种现代硬件上快速运行,与web生态系统无缝集成。2019年12月5日,其正式成为** W3C标准** 。
1214
1315![ webassembly.org/css/webassembly.svg] ( https://webassembly.org/css/webassembly.svg ) 
1416
3335-  WebAssembly 包含对机器更友好的指令;
3436-  JavaScript 无法人为控制垃圾回收,而 WebAssembly 可以有效控制内存回收的时机;
3537
38+ ![ 在Web应用中嵌入WebAssembly] ( D:\GitHub\JavaScript\WebAssembly-编译目标\在Web应用中嵌入WebAssembly.png ) 
                         You can’t perform that action at this time. 
           
                  
0 commit comments