a code execution engine, provides a web based interface to write, compile and run code in multiple programming languages (Python 3, JavaScript / TypeScript, C / C++, Java, Go, PHP, Rust)
tech stack
- backend: rust (using
std::net::TcpListenerfor networking andstd::process::Commandfor execution) - frontend: html, vanilla js and css
- networking: custom http server implementation over tcp
architecture
it consists of a rust based server that:
- binds to a TCP port and listens for incoming requests
- serves a web interface for code editing
- receives code via POST requests, executes it using the relevant system compiler/interpreter and returns the output to the frontend