the code under our code.
Gwecode can run 20 languages in your browser because of other people’s open-source work. Here’s whose, and the licence each one comes with.
20 languages · 17 engines · 0 servers running your code
what runs your code.
Each engine downloads to your browser the first time you run that language, from our server or from jsDelivr. HTML and CSS need no engine: your browser shows them.
| language | what runs it | licence | source |
|---|---|---|---|
| python | Pyodide 0.26.2CPython in WebAssembly, from jsDelivr | MPL-2.0PSF-2.0 | pyodide/pyodide |
| javascript | your browser’s own enginenothing to download | ||
| typescript | TypeScript 5.6.3checks your types, then runs as JavaScript, from jsDelivr | Apache-2.0 | microsoft/TypeScript |
| sql | sql.js 1.12.0SQLite in WebAssembly, from jsDelivr | MITpublic domain | sql-js/sql.js |
| php | php-wasm 0.2.0PHP in WebAssembly, with SQLite, from jsDelivr | Apache-2.0 or GPL-2.0PHP-3.01 | seanmorris/php-wasm |
| ruby | ruby.wasm 2.7.1Ruby 3.4, from jsDelivr | MITRuby or BSD-2-Clause | ruby/ruby.wasm |
| go | Go compiler and linkerfrom our server | BSD-3-Clause | golang/go |
| java | OpenJDK javac and TeaVM 0.16.0from our server, with our changes | GPL-2.0 with Classpath ExceptionApache-2.0 | openjdk/jdk25u |
| c# | .NET runtime and Roslynfrom our server | MIT | dotnet/runtime |
| c and c++ | Clang 21, packaged by YoWASPfrom jsDelivr, with wasi-libc from our server | Apache-2.0 with LLVM exceptionISCMIT | YoWASP/clang |
| shell | just-bash 3.6.0from our server | Apache-2.0 | vercel-labs/just-bash |
| lua | wasmoon 1.16.0Lua 5.4, from jsDelivr | MIT | ceifa/wasmoon |
| r | webR 0.6.0R in WebAssembly, from jsDelivr | GPL-2.0GPL-3.0 | r-wasm/webr |
| dart | dart-wasm 0.7.0 by LiveCodesfrom jsDelivr | MITBSD-3-Clause | live-codes/browser-dart |
| haskell | ghc-in-browser 0.2.0 by LiveCodesfrom jsDelivr | MITBSD-3-Clause | @live-codes/ghc-in-browser |
| rust | wasm-rustc 0.2.0 by LiveCodesfrom jsDelivr | MITApache-2.0 | @live-codes/wasm-rustc |
| swift | swift-wasm 0.1.0 by LiveCodesfrom jsDelivr | MITApache-2.0 | live-codes/browser-swift |
| haskell and rust | browser_wasi_shim 0.4.2lets WebAssembly programs read and print, from jsDelivr | MIT or Apache-2.0 | bjorn3/browser_wasi_shim |
source code for the GPL parts
The Java compiler is OpenJDK’s javac, which we serve from our own server under the GPL version 2 with the Classpath Exception. Its full source is at github.com/openjdk/jdk25u, and every change we made is in teavm-javac-gwecode.patch. The licence texts sit beside each engine: java, go, c and c++, c#.
R comes from webR, which your browser fetches from jsDelivr. R is under the GPL versions 2 and 3, and its source is at github.com/r-wasm/webr.
type, pictures and data.
The parts of the site you see that we didn’t make ourselves.
Rubik
Every heading and paragraph. Copyright 2015 The Rubik Project Authors. Served from our own server.
SIL OFL 1.1
JetBrains Mono
All the code you read and write. Copyright 2020 The JetBrains Mono Project Authors. Served from our own server.
SIL OFL 1.1
Devicon
The one-colour language logos on courses and lessons. Copyright (c) 2015 konpa.
MIT