In order to process the compilation requests, your browser sends the source code you typed in the editor window along with your chosen compiler and options to the Compiler Explorer servers. There, the source code is written to disk and your chosen compiler is invoked on it. The results are processed and sent back to your web browser, where they're shown. Once the compiler has completed, your source code is deleted from disk.
The source code and options are also subject to a one-way hash, which is used to cache the results to speed up subsequent compilations of the same code. The cache is in-memory and on-disk. It's impossible to reconstruct the source code from the hash; but the resulting assembly code (the compilation result) is stored as plain text. There's no way to enumerate the in-memory cache contents. In exceptional cases, administrator members of the Compiler Explorer team may be able to enumerate the disk caches and retrieve the assembly code, but with no way to trace it back to the source code.
In short: your source code is stored in plaintext for the minimum time feasible to be able to process your request. After that, it is discarded and is inaccessible.
If you choose to share your code using the "Share" dropdown, then the user interface state including the source code is stored. For a "Full" link, this information is encoded into the URL as a URL hash (e.g. https://godbolt.org/#ui_state_and_code). For short URLs, the interface state is stored on Compiler Explorer's servers, and a shortened name uniquely referring to this data is returned. The shortened name comes from a secure hash of the state, and without knowing the name it is infeasible to access the data. Only Compiler Explorer administrators can access this data directly . Obfuscated IP addresses and creation time are stored alongside this data, to enable spam detection. Links of this form look like https://godbolt.org/z/SHORTNAME.
Prior to storing data itself, Compiler Explorer used an external URL shortening service (Sneaker Women's on Sunrise Lena Slip FRYE PAzqA) and the resulting short URL was rewritten as https://godbolt.org/g/SHORTURLPART. The storage for the user experience state in this case remains with the short URL provider, not Compiler Explorer.
Compiler Explorer keeps web logs, which contain semi-anonymised IP addresses, but no other personally identifying information. When a long URL is clicked, the hash part of the URL is not sent to the server, so the user state (including the source code) is NOT exposed in the web log. If a user clicks a short URL, then the short form IS exposed in the web log (as https://godbolt.org/g/SHORTURLPART) and from this the source code can be retrieved. As such, if you create a short URL of your code, your source code and other user state can in principle be retrieved from the web log of Compiler Explorer.
In order to debug and diagnose Compiler Explorer, to help track down and block Denial of Service attacks, and to gather statistics about Compiler Explorer's performance and usage, the web logs are archived. These logs are kept for 5 years, after which they are permanently deleted.
Separately, Compiler Explorer uses small pieces of information stored on your computer: Cookies and Browser Local Storage. Cookies are only used with the user's permission, and are used with external analytics services (e.g. Google Analytics) to gather statistics on Compiler Explorer usage. This information is used to help the Compiler Explorer team plan for future updates and hardware upgrades in order to ensure the site remains stable and responsive. Local storage is used to remember user's settings, source code and user interface configuration, so that it's available when the user visits the Compiler Explorer site again. This information is not transmitted to Compiler Explorer, except as described above in order to fulfil the user's requests. There is a White Reebok Blue Shoe Training Wild Hayasu Black Women's 01pw0qg covering more on this. Statistics tracking information is kept for 14 months, after which it is removed.
Compiler Explorer is an open source project. If you are concerned about any of the data protection measures outlined above, or about what happens to your source code, you are encouraged to run your own local instance of Compiler Explorer. Instructions on how to do this are on the Bootie Ankle Paso Women's Black Roxy ZazSq.
Compiler Explorer and the GDPR
The Compiler Explorer team believes the Compiler Explorer site is compliant with the EU's General Data Protection Regulation (GDPR). Specifically, we store no personally identifying information, we anonymise the little data that we do have and we do not permanently store any user data.
Name and Address of the controller
The Controller for the purposes of the General Data Protection Regulation (GDPR), other data protection laws applicable in Member states of the European Union and other provisions related to data protection is:
2626 Orrington Ave
Evanston IL 60201 USA
Well, do you or not?
Compiler Explorer Settings
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.