So far I've limited myself to compilers etc that model very closely on GCC; i.e. very similar compile options etc. I'd happily accept patches though...
that seems to be running the code, i'm interested in something showing assembly. i realize that i can run the commands myself but the gcc explorer is very interactive which i like.
I would like to point out that compiler explorer is very easy to extend with other toolchains and that Matt Godbolt is a very nice person.
I extended Godbolt's Gcc Explorer adding other toolchains (Motorola 68000 and MIPS, built with crosstools-ng) beside the standard AMD64 one, and released as a Docker image.
I did this because... I had to read and write M68k code for a class, and having GCC generate code for me (with -O0 and the colourisation feature) was the easiest way to get some code to read, besides the very basic examples)
This site is so handy -- if it's useful to you too please Flattr the author so they can continue to host it. It's been a helpful tool to be able to link people to code+assembly when trying to convince people not to "optimize" code in code reviews :).
The supplied examples by design don't override the settings you've chosen: this lets you play independently with the text and the settings. It seems the original link here on HN was to a canned example with settings for C, which I think caused the confusion.
A slight problem with that is that the definitive documentation for the opcodes are gigantic PDF manuals that may be hard to obtain for some architectures (e.g. ARM-ARM).
There are some assembly opcode reference manuals on the internet but they're of varying quality and typically cover only one instruction set per site.
If this site steps up and offers to provide an easily searchable documentation interface, I imagine people will immediately help out keeping the docs up to date.
Great tool! I sometimes do the same locally to check out language behaviour, but most of the time it's just one compiler. This tool lets me see compiler differences and the evolution between compiler versions. Nice.
Good handwritten Asm is extremely different from compiler output. For a class that is likely to be "mimic what a compiler does" (which isn't the point of using Asm, but I digress...), probably not.
https://rust.godbolt.org/ https://go.godbolt.org/ https://d.godbolt.org/