Wednesday, June 24, 2015

List of online C++ compilers

I have been using the online C++ compiler, codepad, for the last few years to quickly test small bits of C++ code. Then I came across another one, Ideone, and then another and another and... until I needed to keep a list of them. There are other lists out there—in fact I started with the this one—but some aren't kept up to date or are incomplete. I needed my own list, so here it is, from best to worst, according to my admittedly cursory review.

I did something sort of like this twenty years ago. I had written a static-analysis tool for C (not C++) built on top of an extensible C parser I also wrote. I was playing around with sendmail at the time. I wrote a sendmail rule that ran the analysis tool on any C code in the body of an email sent to a particular email address and returned the resulting report to the sender.