compile-to-web
compile-to-web copied to clipboard
Discover what languages can be compiled to Web Assembly
Discover what languages can be compiled into Web Assembly (WASM)
Languages
| Language | Compiles to LLVM | Compiles 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
| Icon | Meaning |
|---|---|
| :ballot_box_with_check: | Success |
| :no_entry: | Broken |
| :grey_question: | Unknown |
Installation
- Install Vagrant
- Install VirtualBox
- For a desired language
cdinto 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.
