Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 710 Bytes

File metadata and controls

14 lines (10 loc) · 710 Bytes

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::TcpListener for networking and std::process::Command for execution)
  • frontend: html, vanilla js and css
  • networking: custom http server implementation over tcp

architecture

it consists of a rust based server that:

  1. binds to a TCP port and listens for incoming requests
  2. serves a web interface for code editing
  3. receives code via POST requests, executes it using the relevant system compiler/interpreter and returns the output to the frontend