The current language or compiler does not support this tool
Passes:
Included files
Excluded files
Drop files here
LLMs can be inaccurate
Beta
Consent Request
Claude Explain will send your source code and compilation output to Anthropic (a third party company), and will use a large language model (LLM, a form of AI) to attempt to explain your code and the assembly output it produces.
LLMs can be useful but can make mistakes and can sound confident even when they're wrong.
The data sent is not collected or used by Anthropic to train their model, and remains private to Compiler Explorer, and is covered by our Privacy Policy.
Continue?
AI Explanation Not Available
This code contains a "no-ai" directive.
As a courtesy to people who do not wish to have their code processed by forms of AI (including LLMs), Compiler Explorer looks for the string no-ai in the source (or libraries included by the source).
These settings control how Compiler Explorer acts for you. They are not preserved as part of shared URLs, and are persisted locally using browser local storage.
To add a library, search for one you want and select the version in the dropdown. Or if you have favorited it before, just click the library name in the Favorites section. Libraries are installed using the conan.io package manager. Please note that Windows-based compilers currently do not support libraries. Seethis Github issue.
Selected
Results
Favorites
Compiler overrides
To override a compiler's defaults, you can change the following options. Note that this might lead to errors and unsupported situations. These also only apply to compilation, not for executing your code.
Compiler environment variables
One environment variable per line, KEY=VALUE, that will be set during compilation.
Favorites
Runtime tools
To apply runtime tooling or settings when executing your code.