Skip to content

ChristianMurphy/compile-to-web

Repository files navigation

Compile to Web

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

Languages

Language Compiles to LLVM Compiles to WASM
C ☑️ ☑️
C# ☑️ ☑️
C++ ☑️ ☑️
Crystal ☑️
D ☑️ ☑️
F# ☑️ ☑️
Go ☑️ ☑️
Haskell
Java ☑️ ☑️
Julia ☑️
Kotlin ☑️ ☑️
Nim ☑️ ☑️
Python
Rust ☑️ ☑️
Scala ☑️
Swift ☑️
TypeScript

Key

Icon Meaning
☑️ Success
Broken
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.