GCC approves addition of WebAssembly backend

The GCC Steering Committee has approved the inclusion of a WebAssembly backend in the GCC codebase. This decision concerns the general approval of the WebAssembly backend's inclusion in GCC. The review team will decide separately whether to approve the implementation and accept the submitted code.

The backend will enable GCC to compile C/C++ source code into WebAssembly intermediate code. Compilation to WebAssembly can be used for integration with JavaScript projects, running in a web browser, using Node.js, or creating standalone multi-platform applications running using the WASM runtime. The backend acts as a code generator, using intermediate code prepared by GCC's built-in frontends, which parse source code in supported programming languages ​​and provide language-specific optimizations.

The implementation proposed for inclusion in GCC uses the wabt toolchain, the libc implementation for WebAssembly (wasi-libc), and the wasm-ld linker as external dependencies. Not all planned functionality has been implemented; for example, support for debug information, reference types, tables, exceptions, structuring, and setjump/longjump operations is missing.

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers πŸ”₯ Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster