Compiler Explorer's Cost Transparency: 8 Million Compilations/Month for $3100

2025-06-11

Compiler Explorer reveals its operational costs: approximately $3100 per month to handle around 8 million backend compilations. Costs are primarily allocated to AWS (80%) and operational expenses (20%), including monitoring tools, office expenses, and community expenses. Cost optimization measures, such as using spot instances and carefully scheduling build infrastructure, significantly reduce expenses. Despite a decrease in compilation volume, infrastructure costs remain relatively stable. The project generates roughly $4475 per month in revenue from Patreon, GitHub Sponsors, PayPal donations, and commercial sponsors; excess funds are saved for reserves. The author emphasizes cost transparency and the importance of community support.

Read more
Development

Compiler Explorer: 92 Million Compilations a Year and Still Going Strong

2025-06-08

Compiler Explorer, the online compiler exploration website, handles a staggering 92 million compilations annually. This article dives deep into its architecture, from the Monaco editor frontend and CloudFront/load balancer to the secure sandboxing with nsjail. To manage this massive workload, it leverages AWS autoscaling and boasts nearly 4TB of over 3000 compiler versions supporting 81 languages. The author details the challenges and solutions in security, version management, cross-platform support (Windows, ARM, and GPU), and cost optimization, showcasing the evolution from a weekend project to a robust platform serving thousands of developers.

Read more
Development

Compiler Explorer: The Promise of URLs That Last Forever

2025-05-28

Compiler Explorer's URLs have evolved from encoding compiler states directly in URLs to using goo.gl short links, and finally to a self-built storage solution. With goo.gl sunsetting in August 2025, the author is rescuing old goo.gl-based links, recovering over 12,000 so far. This post highlights the author's commitment to 'URLs that last forever' and reflects on the reliance on third-party services.

Read more
Development URLs Links