Skip to content

WASM #17

@flying-sheep

Description

@flying-sheep

First of all: I think it’s useless to distinguish bytecode and text representations of WASM. They correspond 1:1, that’s tr, not a compiler.

Generally I think everything will compile to WASM at some point very soon in the future. Right now:

  • JWebAssembly compiles Java bytecode to WASM
  • Using LLVM:
    • EMScripten compiles C/C++ to JS or WASM
    • Rust has WASM as direct compiler target

I think rust is the most mature and convenient bet right now, you can compile your library directly to a WASM library by setting the compile target mode and import the resulting file from a JS runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions