Home

Awesome

Compile to Web

Discover what languages can be compiled into Web Assembly (WASM)

Languages

LanguageCompiles to LLVMCompiles to WASM
C:ballot_box_with_check::ballot_box_with_check:
C#:ballot_box_with_check::ballot_box_with_check:
C++:ballot_box_with_check::ballot_box_with_check:
Crystal:ballot_box_with_check::grey_question:
D:ballot_box_with_check::ballot_box_with_check:
F#:ballot_box_with_check::ballot_box_with_check:
Go:ballot_box_with_check::ballot_box_with_check:
Haskell:grey_question::grey_question:
Java:ballot_box_with_check::ballot_box_with_check:
Julia:ballot_box_with_check::grey_question:
Kotlin:ballot_box_with_check::ballot_box_with_check:
Nim:ballot_box_with_check::ballot_box_with_check:
Python:grey_question::grey_question:
Rust:ballot_box_with_check::ballot_box_with_check:
Scala:ballot_box_with_check::no_entry:
Swift:ballot_box_with_check::no_entry:
TypeScript:grey_question::grey_question:

Key

IconMeaning
:ballot_box_with_check:Success
:no_entry:Broken
:grey_question:Unknown

Installation

  1. Install Vagrant
  2. Install VirtualBox
  3. For a desired language cd into the folder, then run
vagrant up
vagrant ssh
sudo su -
install
build

Contributing

Interested in seeing a new language? Found a bug in the examples? Check out the Contributing Guide for how to get involved!

FAQ

Question: Why is "Compile to LLVM" listed?

Answer: LLVM was an influence for WebAssembly technology and was the first compiler infastructure with official WASM support.