A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://asterius.netlify.app/wasm-experimental below:

Using experimental WebAssembly features

Using experimental WebAssembly features
  1. Introduction
  2. Contents
  3. 1. Overview
  4. 2. Using prebuilt container images
  5. 3. Building guide
  6. 4. Cabal support
  7. 5. Using ahc-dist/ahc-link
  8. 6. JavaScript FFI
  9. 7. Template Haskell
  10. 8. Invoking RTS API in JavaScript
  11. 9. IR types and transformation passes
  12. 10. The runtime debugging feature
  13. 11. Project architecture
  14. 12. Writing WebAssembly code in Haskell
  15. 13. WebAssembly as a Haskell compilation target
  16. 14. Using experimental WebAssembly features
  17. 15. Hacking guide
  18. 16. Reading list
  19. 17. Roadmap
  20. 18. January 2022 milestones
  21. 19. Draft concurrency semantics
  22. 20. Dirty laundry
Using experimental WebAssembly features

By default, Asterius only emits code that uses WebAssembly MVP features. There are flags to make use of WebAssembly experimental features:

The above features require specific flags to switch on in V8. They are known to work in latest Node.js 12.x versions, and we test them on CI.

The V8 team maintains a Node.js 13.x build which integrates V8 trunk, described here. It's possible to use that build to evaluate experimental WebAssembly features; we provide a script which unzips the latest test-passing build to the current directory, so it's possible to use the node binary for testing bleeding-edge Wasm features in V8.

We are keeping an eye on the development of experimental WebAssembly features. Here is a list of V8 tracking issues of the features we are interested in. Some are already available in recent Node.js or Chromium releases.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4