ChristianMurphy / compile-to-web

Discover what languages can be compiled to Web Assembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Discover what languages can be compiled to Web Assembly

License:MIT License


Languages

Language:Ruby 51.5%Language:Shell 40.3%Language:Nim 2.2%Language:Java 0.8%Language:F# 0.7%Language:C# 0.6%Language:C++ 0.6%Language:Scala 0.6%Language:Go 0.5%Language:D 0.4%Language:Kotlin 0.4%Language:C 0.3%Language:Rust 0.3%Language:Haskell 0.2%Language:TypeScript 0.2%Language:Julia 0.1%Language:Swift 0.1%Language:Python 0.1%Language:Crystal 0.1%