Shipped this project!
I built C++ Here, a lightweight and lightning-fast online C++ execution platform designed for competitive programming! Instead of running tests on a server, it compiles C++ into WebAssembly and executes it directly in the browser. The hardest part was figuring out how to securely build the WASM modules using Docker on the backend, and then running them safely with multi-threading in a browser sandbox while handling multiple test cases concurrently. I solved this by leveraging isolated Docker containers, web workers, and a smart backend compilation cache. I’m really proud of how incredibly fast it is—since code runs on the frontend, there are no server resource limits or execution bottlenecks, making it perfect for rapid algorithm testing! :)