# compiler-explorer/compiler-explorer

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/compiler-explorer-compiler-explorer).**

18,850 stars · 2,061 forks · TypeScript · BSD-2-Clause

## Links

- GitHub: https://github.com/compiler-explorer/compiler-explorer
- Homepage: https://godbolt.org
- awesome-repositories: https://awesome-repositories.com/repository/compiler-explorer-compiler-explorer.md

## Topics

`assembly` `c` `c-plus-plus` `compiler` `cpp` `dlang` `go` `hacktoberfest` `haskell` `haskell-language` `ispc` `python` `rust` `rust-lang` `swift`

## Description

Compiler Explorer is an online tool and analysis platform used to translate source code into assembly in real time. It functions as a cross-compiler analysis tool, allowing users to examine how various compilers and versions translate the same source code into machine code to analyze optimizations and generation patterns.

The platform supports low-level language debugging and the comparison of assembly output across different compiler toolchains. It also provides a self-hosted environment option for users who need to run private deployments with custom binaries or operate within secure offline networks.

The system integrates a remote-execution backend that runs compiler binaries in sandboxed processes and a web-based frontend. It includes a network interface for querying compiler data and retrieving assembly output via an API.

## Tags

### Programming Languages & Runtimes

- [Source-to-Assembly Translation](https://awesome-repositories.com/f/programming-languages-runtimes/source-to-assembly-translation.md) — Translates source code into assembly in real time to analyze how specific language constructs are compiled. ([source](https://cdn.jsdelivr.net/gh/compiler-explorer/compiler-explorer@main/README.md))
- [Source Code Compilers](https://awesome-repositories.com/f/programming-languages-runtimes/source-code-compilers.md) — Transforms source code from multiple languages into assembly for immediate analysis. ([source](https://github.com/compiler-explorer/compiler-explorer/wiki))
- [Compiler APIs](https://awesome-repositories.com/f/programming-languages-runtimes/compiler-interpreter-internals/compiler-infrastructure/compiler-apis.md) — Provides a network interface to retrieve assembly output and list available compiler versions. ([source](https://cdn.jsdelivr.net/gh/compiler-explorer/compiler-explorer@main/README.md))

### Development Tools & Productivity

- [Compiler Transformation Analysis](https://awesome-repositories.com/f/development-tools-productivity/compiled-code-analysis/compiler-transformation-analysis.md) — Analyzes how source code is translated into assembly to understand compiler optimizations.
- [Online Compilers](https://awesome-repositories.com/f/development-tools-productivity/compilers-toolchains/online-compilers.md) — Offers a web-based interface to translate source code into assembly in real time.
- [Assembly Output Comparison](https://awesome-repositories.com/f/development-tools-productivity/cross-compilation-tooling/assembly-output-comparison.md) — Compares assembly output across different compiler versions to analyze optimization differences.
- [Cross-Compiler Analysis Tools](https://awesome-repositories.com/f/development-tools-productivity/cross-compiler-analysis-tools.md) — Provides a platform for comparing the assembly output of different compilers and versions for the same source code.

### Security & Cryptography

- [Binary Execution Sandboxes](https://awesome-repositories.com/f/security-cryptography/binary-execution-sandboxes.md) — Runs untrusted compiler binaries inside restricted environments to prevent unauthorized system access.
- [Self-Hosted Enterprise Environments](https://awesome-repositories.com/f/security-cryptography/self-hosted-enterprise-environments.md) — Provides a private deployment option for using custom toolchains within secure offline networks.

### Software Engineering & Architecture

- [Remote Compiler Execution](https://awesome-repositories.com/f/software-engineering-architecture/pluggable-backends/execution-backends/remote-compiler-execution.md) — Provides a server infrastructure that runs compiler binaries in isolated sandboxes and streams output to the client.
- [Low-Level Machine Code Optimizations](https://awesome-repositories.com/f/software-engineering-architecture/performance-reliability/code-optimization/low-level-machine-code-optimizations.md) — Verifies final machine code to identify performance bottlenecks or unexpected compiler behavior.
- [Stateless Architectures](https://awesome-repositories.com/f/software-engineering-architecture/stateless-architectures.md) — Processes compilations independently to scale across multiple execution nodes without maintaining shared session state.

### DevOps & Infrastructure

- [Private Infrastructure Hosting](https://awesome-repositories.com/f/devops-infrastructure/private-infrastructure-hosting.md) — Supports deployment within private networks for use with custom toolchains or secure offline operations.
- [Self-Hosted Instances](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-instances.md) — Allows users to run a private version of the environment to use custom compiler binaries. ([source](https://cdn.jsdelivr.net/gh/compiler-explorer/compiler-explorer@main/README.md))

### System Administration & Monitoring

- [Binary Path Resolution](https://awesome-repositories.com/f/system-administration-monitoring/tool-binary-inventories/binary-path-resolution.md) — Retrieves absolute file system paths to specific compiler binaries on the host for execution.
