Re:GodBolt: Enter C, get Assembly
by flukus on Thursday December 15, 2016 @01:11AM
(#13182800)
That's really cool. Is it actually compiling in the background? Is this a tool you wrote?
[ Parent
| on HN ]
It is running the specified compilers. The github page has more info on how it works.
Re:GodBolt: Enter C, get Assembly
by DvdGiessen on Thursday December 15, 2016 @07:08AM
(#13184019)
There's a post on his blog about how the entire thing runs a bunch of compilers on EC2:
http://xania.org/201609/how-compiler-explorer-runs-on-amazon
It uses gcc behind.
I had a chance to read part of the sources and prepare a patched version with a set of toolchains (m68k, amd64, mips). It's nicely written, it's easy to add toolchains as well as to set default compilation options.