Run compilers interactively from your web browser and interact with the assembly (by compiler-explorer)

Compiler-explorer Alternatives

Similar projects and alternatives to compiler-explorer

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better compiler-explorer alternative or higher similarity.

compiler-explorer reviews and mentions

Posts with mentions or reviews of compiler-explorer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-10.
  • Free MIT Course: Performance Engineering of Software Systems
    4 projects | | 10 Jan 2024
    resources were extra useful when building deeper intuitions about GPU performance for ML models at work and in graduate school.

    - CMU's "Deep Learning Systems" Course is hosted online and has YouTube lectures online. While not generally relevant to software performance, it is especially useful for engineers interested in building strong fundamentals that will serve them well when taking ML models into production environments:

    - Compiler Explorer is a tool that allows you easily input some code in and check how the assembly output maps to the source. I think this is exceptionally useful for beginner/intermediate programmers who are familiar with one compiled high-level language and have not been exposed to reading lots of assembly. It is also great for testing how different compiler flags affect assembly output. Many people used to coding in C and C++ probably know about this, but I still run into people who haven't so I share it whenever performance comes up:

  • 4B If Statements
    5 projects | | 27 Dec 2023
    Easy enough to check with even the indecent compilers!

    5 projects | | 27 Dec 2023
  • Performance difference between obj.function(...) and function(obj, ...) ?
    4 projects | /r/rust | 8 Dec 2023
    That sounds weird, the calls should produce identical machine code if all other factors are equal. You can compare the generated assembly code at Compiler Explorer. And yes, be sure to build with optimizations turned on.
  • A VSCode Compiler Explorer Plugin for Clang
    2 projects | /r/LLVM | 6 Dec 2023
    Recently, I made a VSCode plugin - ( which is very similar to Compiler Explorer ( Here is the story: when I was working on changing or writing passes in Clang. If the output is not as expected, it was quite hard finding which pass is causing the problem. A transformation of IR may cause a problem in the very end of the pipeline. This plugin works like compiler explorer to show inner LLVM IR changes after each pass to help you explore what happens in the compiler pipeline.
  • Dogbolt Decompiler Explorer
    7 projects | | 4 Dec 2023
    Look no further than

    > It's meant to be the reverse of the amazing Compiler Explorer.

    With a link to

    It’s very obvious that Dogbolt Decompiler Explorer is primarily named after Godbolt Compiler Explorer.

  • Sqids – Generate Short Unique IDs from Numbers
    13 projects | | 25 Nov 2023
    Well if you don't filter, things like this may happen:

    Me and you will know it's just random characters, but if HR enters the chat...

  • Sometimes it *is* a compiler bug: finding and fixing a bug in a C++ toolchain
    2 projects | | 4 Nov 2023
    If you're writing a language it supports, use godbolt - It's great for settling arguments (do these two versions compile to the same code? If not figure out why! Make sure you're compiling with optimizations)

    Spend some time learning gdb and other classic cli tools.

    Don't be afraid of reading books!

  • We have used too many levels of abstractions and now the future looks bleak
    6 projects | | 21 Oct 2023
    > Do you have any ressources to share ?

    Godbolt [0] is an invaluable ressource. But simply setting up tasks to yourself and completing them. If you have a week, I'd suggest to start "in the middle", and move up and down according to your tastes.

    - Start writing a hello world program in C, compile it and run it. Try to compile it statically and understand the difference.

    - Ask the compiler to produce an assembly file. Try to build the executable from that assembly.

    - Try to write a hello world in assembly language by yourself, compile and run it.

    - Write a program in assembly that prints fibonacci, or prime numbers.

    - Now, forget about assembly and move upwards. Download python source code, compile it, and run a python hello world with that interpreter.

    - Look at the Python source code, which is written in C, and try to follow what happens when you run your hello world.

    - Try to change the "print" function of the python interpreter so that it prints your string backwards.

    Depending on your experience, you may need more than a week (5 days) to complete all these steps. But that's OK! In a few months you can find a new spare week and continue your work.


    6 projects | | 21 Oct 2023
    What I’ve found most helpful for understanding how something affects Python specifically is godbolt [0].

    Find a chunk of code you want to optimize, simplify it as much as possible, then put it into godbolt. Match the interpreter version to yours. Then go look up the bytecodes and see what they do. Try changing the Python version to see how it differs, or a different approach to the problem (e.g. a map instead of a list comprehension).

    This takes an enormous amount of time, of course, but you can learn quite a bit.


  • A note from our sponsor - InfluxDB | 29 Feb 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →


Basic compiler-explorer repo stats
1 day ago
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.