I use the compiler explorer quite regularly and it is really a brilliant tool. Although for deeper diving I use cargo-asm (or just profile and look at the assembly) for short explorations to answer the question ‘what would rustc/gcc/clang/… compile this to?’, the compiler explorer is really awesome.
One of my absolute favourite tools, but one that is in desperate need of
a ‘non-web’ version (good TUI candidate),
(the much more difficult) extension that jacks into cmake/whatever-build-system, runs multiple gcc/clang versions side by side and gives “for my chosen function(s)” feedback of assembly, IR, post-macro expansion and SSA forms, with tags on inlining and UB assumptions.
Very cool! I was recently watching a CPPCon talk where the presenter would use this as a scratch pad for demonstrating some code and the assembly it generated.
I use the compiler explorer quite regularly and it is really a brilliant tool. Although for deeper diving I use cargo-asm (or just profile and look at the assembly) for short explorations to answer the question ‘what would rustc/gcc/clang/… compile this to?’, the compiler explorer is really awesome.
Thanks! cargo-asm looks really useful.
One of my absolute favourite tools, but one that is in desperate need of
Well, the first part’s done already; somebody in a Rust Discord server I hang out in posted it: https://github.com/ethanhs/cce
Very cool! I was recently watching a CPPCon talk where the presenter would use this as a scratch pad for demonstrating some code and the assembly it generated.
This is great! Are you aware of any desktop tools like that?
The constituent compiler/toolchain tools are what’s in use under the covers.
gcc/clang/objdumpetc.Ok, this is awesome.