View Single Post
Old Jul 26th, 2007, 4:22 PM   #9
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,453
Rep Power: 7 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I wanted to procrastinate a bit, so I took a stab at this earlier just tinkering around... basically, how you mention in your second potential method. The user copy-pastes their code into a text box and they hit compile... and then the binary is available for download or error messages are displayed along with the source code (each line is numbered, so the user can reference it when reading the error messages from the compiler).

It is extremely basic and I have no intention of modifying it beyond the proof of concept phase. The main problem, in addition to security, is that the binaries will only work under Linux (or whatever architecture your server is). So you will definitely need some sort of server virtualization to accomodate the different flavors and environments and all of the different parameters you expect your users to request.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote