A web-based code editor that allows users to write, compile, and execute C++ programs directly from the browser.
The project focuses on integrating a simple frontend editor with a backend C++ execution engine using containerized execution.
- Browser-based interface for writing C++ code
- Backend service to compile and execute C++ programs
- Isolated code execution using Docker containers
- Clear separation between frontend, backend, and execution logic
- Designed for local development and learning purposes
- The current implementation experiences high latency for computationally intensive workloads.
- Improve performance by reusing warm containers instead of creating a new container for each execution, significantly reducing startup overhead.
- Reduce end-to-end execution latency through optimized compilation caching and execution pipeline improvements.
git clone https://github.com/Extremist-18/codeEditor.git
cd codeEditordocker-compose up --buildThis will start all services: Frontend | Backend | Redis | Worker | C++ Runner |
Open in your browser:
http://localhost:5173docker-compose down