Have you considered moving the compiler to the client side? In theory you can build a C/C++ and virtually any other language compiler in Javascript.
Security restrictions on the browser might be an issue, but i think you should be able to store the binary output in the local storage and upload it to the server.