Online IDE - C/C++, Java, PHP, Python, Perl and 40+ compilers and intepreters
ideone.com
ideone.com
Edit: That said, ideone does have an API.
A tool like this isn't the place for an ad-supported model. This is a place to work with text, and the colorful, animated, image-based ads are simply too distracting to do any real work for more than a minute or two.
public class Foo { public static void main(String[] args) { System.out.println("foo"); } }
And got an error "class Foo should be in a file named Foo.java". Sweet!
Syntax highlighting doesn't seem to do anything. Isn't it a little grand to be calling this an IDE?
They have an "insert template" button which kind of clarifies that.
It's always good to try out new languages but it can be time consuming getting things up & running before you can make your "hello world".
I wrote my first Go program just now, might try Prolog next :)
http://ideone.com/F3GBH shows the output from a fork bomb. Basically nothing goes wrong, as I'd expect.
Edit: though, I attempted fork bomb in C ...
result: time limit exceeded time: ∞ memory: 2720 kB signal: 9 (SIGKILL)That said, 'print 5' in python took 11 seconds.
Edit: The ability to use the tab key is pretty awesome.
var s = "Hello World!";
The compilation performance reminds me of the 'beloved' time sharing systems of the eighties and earlier. Had to go to work in the middle of the night, so compilations didn't take an unpredictably long time. With PC's (CP/M-80, XENIX) came more predictable performance. Feels like a history repeat - going back to the terminal age with HTML forms somewhat like 3270 submit and AJAX more like DEC VT-100. Not exactly of course, but like a pendulum swinging from server-side to client-side and now back to server-side.