raylib C code can be compiled to [WebAssembly](https://en.wikipedia.org/wiki/WebAssembly) to run on Web. Compilation process is very similar to the one used for desktop platforms with `gcc` compiler but it requires a different toolchain: [emscripten SDK](https://emscripten.org/).
raylib C code can be compiled to [WebAssembly](https://en.wikipedia.org/wiki/WebAssembly) to run on Web. The compilation process is very similar to the one used for desktop platforms with `gcc` compiler but it requires a different toolchain: [emscripten SDK](https://emscripten.org/).
`emscripten` provides a set of tools to compile C code to WebAssembly, the main tool provided is the `emcc` compiler. `emcc` is actually a direct replacement for `gcc`, so, anyone with experience compiling code directly in the command-line should not have much trouble to use `emcc`.