WASM代码的可移植性和限制


Code Portability and Limitations 代码的可移植性和限制

Emscripten can be used to compile almost any portable C/C++ code to JavaScript. The topics in this section help identify less portable code, and code that may need to be changed because of limitations in the browser environment or Emscripten-compiled JavaScript.

Emscripten可用于将几乎所有可移植的C / C ++代码编译为JavaScript。本节中的主题可帮助确定可移植性较低的代码,以及由于浏览器环境或Emscripten编译的JavaScript的限制而可能需要更改的代码。