bytecodealliance / bytecodealliance/wasmtime

Add Webassembly backend

Open
#2,566 30 comments 118 reactions 0 assignees View on GitHub
cranelift cranelift:new-target enhancement
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 14h
Merged PRs (30d)
135

Description

#### Feature

Add a Cranelift backend that compiles to Webassembly.

#### Benefit

This would allow a compiler to run in the browser and compile code to run in the browser.

#### Implementation

No plan yet

#### Alternatives

Not adding a Webassembly backend.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified, and the implementation section has no plan. Start by researching the Cranelift and Wasmtime backend architecture and the requirements for browser compilation. Done means an agreed design and a backend that compiles code to WebAssembly and supports the stated browser use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.