compile.okak0.com

Write code. Get an executable.

C, C++, Rust, Go, assembly and C# build into a Linux or Windows program, and Java into a .jar that runs on both. Run it in a live console to check the output, then download it. Python runs right here too.

C …
Drop files to add them to the project
Output Nothing built yet
Press Build to compile your code. Compiler messages and program output show up here.
About the site and languages
  • Projects can have many files — upload several or drop a folder. Every source file is compiled; the main file is where the program starts and names the executable
  • Python comes with NumPy, pandas, SciPy, scikit-learn, PyTorch (CPU), matplotlib, Requests, FastAPI and Pydantic — plt.show() plots appear under the console
  • Builds are kept for 60 minutes, then deleted
  • Programs run in a live console with 10 s of CPU time and no internet access
  • Windows .exe builds run under Wine, so you can test them before downloading
  • Comet programs run in the console as Linux programs, so goto and colours show correctly; the Windows download is a real .exe. Window programs (use gui) are drawn right here above the console.
  • C# programs are self-contained (.NET 10) — they run without .NET installed. Java builds a .jar; run it with java -jar
  • Assembly uses NASM syntax — define main to use the C library, or _start for a bare program
Compile from a terminal

Upload a file with curl — the language comes from its ending (.c .cpp .rs .go .asm .java .cs) and the program is saved in the current folder.

Linux / macOS
curl -sT main.cpp compile.okak0.com/f/ -o main
Windows (cmd or PowerShell)
curl.exe -sT main.cpp compile.okak0.com/w/ -o main.exe

If the code has errors, the downloaded program prints the compiler errors when you run it. To see them right away instead, add compile.okak0.com/e at the end of the command. Put https:// in front of the addresses to encrypt the upload.