Top WebAssembly Languages
C / C++
Emscripten is a compiler that compiles C/C++ code into WebAssembly. It has been one of the first compilers to WebAssembly on the market.
COBOL is a business programming language that is still used in many legacy mainframe applications. The Cobweb project compiles COBOL to WebAssembly, making a wider use of this eminent language possible.
The designers of the D programming languages wanted to make a "better C++". It is mostly used in system level programming. The compiler has an option to output to WebAssembly.
Faust is a functional programming language for sound synthesis and audio processing. It also supports WebAssembly.
Go is a statically compiled programming language with garbage collection and concurrency in mind. It supports WebAssembly.
Pascal is a procedural programming language designed by Niklaus Wirth. The Free Pascal compiler also has WebAssembly as a compilation target.
PHP is a general purpose scripting language targeting web development. Currently, there is an effort to run PHP on WebAssembly. It is called "Wasmer PHP" and is hosted on GitHub.
Python is a high level, very popular general purpose programming language. The Pyodide distribution targets Python for the browser and Node using WebAssembly.
Rust is a multi-paradigm, general purpose programming language. Rust enforces memory safety and is popular for systems programming. Rust supports WebAssembly.
Swift is a compiled general purpose programming language developed by Apple. Using the SwiftWasm project you can compile Swift to WebAssembly.
Awesome WASM Langs: https://github.com/appcypher/awesome-wasm-langs
Cover image Photo by Philip Oroni on Unsplash.
This work is licensed under a Creative Commons Attribution 4.0 International License.