Discover what languages can be compiled into Web Assembly (WASM)
Language | Compiles to LLVM | Compiles to WASM |
---|---|---|
C | ☑️ | ☑️ |
C# | ☑️ | ☑️ |
C++ | ☑️ | ☑️ |
Crystal | ☑️ | ❔ |
D | ☑️ | ☑️ |
F# | ☑️ | ☑️ |
Go | ☑️ | ☑️ |
Haskell | ❔ | ❔ |
Java | ☑️ | ☑️ |
Julia | ☑️ | ❔ |
Kotlin | ☑️ | ☑️ |
Nim | ☑️ | ☑️ |
Python | ❔ | ❔ |
Rust | ☑️ | ☑️ |
Scala | ☑️ | ⛔ |
Swift | ☑️ | ⛔ |
TypeScript | ❔ | ❔ |
Icon | Meaning |
---|---|
☑️ | Success |
⛔ | Broken |
❔ | Unknown |
- Install Vagrant
- Install VirtualBox
- For a desired language
cd
into the folder, then run
vagrant up
vagrant ssh
sudo su -
install
build
Interested in seeing a new language? Found a bug in the examples? Check out the Contributing Guide for how to get involved!
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.