Compiler Explorer

Sometimes its handy to know what compiler might be doing with a code snippet. At times when I am working on upgrading a compiler or debugging a performance issue then I want to look at different versions of compiler to generate code for a given source and compare. This tool called godbolt is priceless for me. I believe it could also help folks who are learning computer programming especially at system level. It support all well known programming languages e.g. C/C++, go, rust, JAVA, python etc. You could choose difference compilers and different versions. You can also choose different cross compiler architectures e.g. ARM/x86/RISCV/PPC/MIPS etc.

1 Like