« Jim Coplien on Design by Contract | Main | Echos of Stars Past »

Online Compilers

If you want to learn a new programming language at work, but you don't have the permissions to install new software on your PC and you don't want to 'bother' your system administrator, then maybe you should try an online compiler.  These are web sites in which you enter your code, click a button, and then your code is compiled and run, any output being displayed for you. 

Below is a list of a few online compilers that I have come across, along with the programming languages that each can handle.  They vary widely in the quality of their user interfaces, but if you are just interested in accessing the underlying compiler then that shouldn't matter too much.

  • JXXX Compiler Service - Java
  • Codepad - C, C++, D, Haskell, Lua, OCaml, PHP, Perl, Python, Ruby, Scheme, Tcl
  • The Zamplizer - Bash, C#, C++, Groovy, Haskell, Java, Perl, Python, Ruby
  • Tide - Javascript
  • CodeIDE - Pascal, BASIC, C++,  Asm, Perl, Javascript, HTML, Flex, MySQL, Prolog, Lisp
  • heroku - Ruby on Rails
  • AppJet - Javascript

Of these, CodePad is my favorite, but I have also used the JXX Compiler Service and The Zamplizer successfully (with the latter be sure to tick the "Wrap in <pre>" check box to get the output formatted correctly).  When I tried CodeIDE, it wasn't responding properly; maybe it was overloaded, or maybe it just doesn't work with Firefox.  Both Heroku and AppJet seem to be relatively serious web development tools.

In addition to the above, there are apparently moves afoot to produce online versions of the popular Eclipse and NetBeans IDEs.


Reader Comments (7)

i actually wanna modify an online compiler so as to test the source code for a certain set of inputs..
this i plan it to do online. i want something like i submit the code to the comipiler and it automatically tests for the predefined set of test conditions.. it outputs whether the code is correct or no
if partially correct then it can accordingly evaluate the code and give out a value of a certain percentage of efficiency of the code...

Suggest me some ways to implement..
what are the issues which i would come across if decide to implement such an online compiler...
thank you.
February 9 | Unregistered CommenterVismay Buch
Vismay, it sounds like you are trying to set up an online compiler for other people to use. I'm sorry but I don't know how to do that. However, you might get some help if you post a request on a newsgroup for the compiler you intend to use.
February 10 | Unregistered CommenterTristram
vismay studing CPL huh???
June 13 | Unregistered Commenterabin sharaf

Can you shed any light on how an online compiler works ? ..... what sort of web technology is it ?
September 20 | Unregistered CommenterArkapravo
There are a few details about how CodePad works here: http://codepad.org/about .
Other than that, I cannot really help you.
September 21 | Unregistered CommenterTristram
I'd like to know more about the implementation of online compiler as i'm doing a project on that.Pls kindly give some details about it.My email id: anandpr89@gmail.com.
September 25 | Unregistered CommenterAnand
Thanks for your article. Helped me out with Codepad :-)

There is one more option at http://code.vcer.net
September 28 | Unregistered CommenterKaran

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
All HTML will be escaped. Hyperlinks will be created for URLs automatically.