frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

How Compiler Explorer Works in 2025

https://xania.org/202506/how-compiler-explorer-works
101•vitaut•4d ago

Comments

unconed•5h ago
Putting AI disclaimers at the end of your post seems like the wrong way to do it. If you feel the need to put a disclaimer, put it at the top. Otherwise, what's the point?
YetAnotherNick•5h ago
AI disclaimer is both in the top and bottom. First box contains:

> Written with LLM assistance. Details at end.

unconed•5h ago
Yep I totally didn't notice it because it's off to the side and looks like some kind of promo box.
arkj•5h ago
Will anything be ever written in future without a little help from llm?
quaintdev•5h ago
Is it just me or something is wrong with HN https://ibb.co/0RwqjZvP
arkj•5h ago
An interesting glitch. A few more refreshes and got the site unavailable message. It’s fixed now.
arkj•5h ago
Maybe it’s a client side error but I see three links of this post on the homepage.
psnehanshu•5h ago
The tool is called Compiler Explorer, but is hosted at godbolt.org. There's also compliler-explorer.com, which is the same thing. Why not retire the first domain? Just redirect to the namesake domain to prevent link rot.
krackers•5h ago
Because most people colloquially know it as "Godbolt".
MeetingsBrowser•4h ago
Most people I know, including myself, refer to it as godbolt and not compiler explorer.

I didn’t know it was hosted anywhere other than godbolt.org

0xTJ•3h ago
When I want to visit Compiler Explorer, I start typing godbolt, then his Enter when the browser brings up the correct item from my History. "compiler-explorer.com" is also much longer (if you want to type out the whole things).
jevndev•3h ago
Funny enough, he has talked about this exact problem on his podcast “Two’s complement”; Specifically the episode “The future of compiler explorer”. Commenters below are correct that it’s just about how heavily associated his name is with the tool. I just figured I’d also drop this source here because he has a lot of interesting things to say about his involvement with the project
wild_pointer•3h ago
How about compiling client-side with wasm, fully or partially? Feasible? Was it considered?
petabyt•3h ago
Some of the compilers they use (msvc) are not open source and are not allowed to run in wasm. And porting entire compiler toolchains to wasm would be a gargantuan task.
jenadine•3h ago
That would imply compiling each compiler to wasm, which might not be supported. Plus challenges like making a virtual file system to get the header files and other files needed for the compilation.

Edit: also, you couldn't execute the resulting binary

galkk•3h ago
tl;dr:

    * Right now, Compiler Explorer costs around $3000 a month (including AWS, monitoring, Sentry for errors, Grafana, and other expenses). 
    * nsjail for security/isolation
    * 3.9 terabytes of compilers, libraries, and tools
    * Up to 30+ EC2 instances (EC2 instances are virtual machines)
    * 4,724 compiler versions
    * 1,982,662 short links saved (and as of recently, ~14k ex-goo.gl links)
    * 1.8 million compilations per week
    
If my napkin math is correct, it's around 3 compilations/sec. and their cost is 0.0004 cents per compilation. Fascinating. If anyone asked me about ballpark estimate of compiler explorer cost, I'd be wrong at least at magnitude. Like - they must be heavy cpu/io/network bound, and this is like the worst scenario for cloud use.

This and lichess (https://news.ycombinator.com/item?id=41922928#41928953) shows that you really can handle very serious loads for quite cheap.

dieortin•3h ago
> $3,00015

That’s a very weird place to put a comma. I have no idea what number this is representing (since I doubt it’s $3 a month)

detaro•2h ago
the 15 is a copy-paste error (footnote)
sapiogram•2h ago
Thank you, the comment has value now.

Why Android can't use CDC Ethernet (2023)

https://jordemort.dev/blog/why-android-cant-use-cdc-ethernet/
131•goodburb•4h ago•58 comments

Poison everywhere: No output from your MCP server is safe

https://www.cyberark.com/resources/threat-research-blog/poison-everywhere-no-output-from-your-mcp-server-is-safe
64•Bogdanp•3h ago•33 comments

Building supercomputers for autocrats probably isn't good for democracy

https://helentoner.substack.com/p/supercomputers-for-autocrats
69•rbanffy•4h ago•37 comments

Omnimax

https://computer.rip/2025-06-08-Omnimax.html
59•aberoham•4h ago•19 comments

Riding high in Germany on the world's oldest suspended railway

https://www.theguardian.com/travel/2025/jun/09/riding-high-in-germany-on-the-worlds-oldest-suspended-railway
12•pseudolus•1h ago•0 comments

Tracking Copilot vs. Codex vs. Cursor vs. Devin PR Performance

https://aavetis.github.io/ai-pr-watcher/
28•HiPHInch•3d ago•9 comments

Panjandrum: The 'giant firework' built to break Hitler's Atlantic Wall

https://www.bbc.com/future/article/20250603-the-giant-firework-built-to-break-hitlers-atlantic-wall
82•rmason•3d ago•62 comments

The Wire That Transforms Much of Manhattan into One Big, Symbolic Home

https://www.atlasobscura.com/articles/eruv-manhattan-invisible-wire-jewish-symbolic-religious-home
31•rmason•4h ago•21 comments

Administering immunotherapy in the morning seems to matter. Why?

https://www.owlposting.com/p/the-time-of-day-that-immunotherapy
115•abhishaike•8h ago•78 comments

OpenBSD IO Benchmarking: How Many Jobs Are Worth It?

https://rsadowski.de/posts/2025/fio_simple_benckmarking/
15•PaulHoule•2h ago•3 comments

Show HN: Let’s Bend – Open-Source Harmonica Bending Trainer

https://letsbend.de
77•egdels•9h ago•14 comments

Zig Devlog: Self-Hosted x86 Back End Is Now Default in Debug Mode

https://ziglang.org/devlog/2025/#2025-06-08
14•brson•2h ago•10 comments

I Used AI-Powered Calorie Counting Apps, and They Were Even Worse Than Expected

https://lifehacker.com/health/ai-powered-calorie-counting-apps-worse-than-expected
33•gnabgib•1h ago•10 comments

Cheap yet ultrapure titanium might enable widespread use in industry (2024)

https://phys.org/news/2024-06-cheap-ultrapure-titanium-metal-enable.amp
67•westurner•4d ago•39 comments

Gaussian integration is cool

https://rohangautam.github.io/blog/chebyshev_gauss/
138•beansbeansbeans•16h ago•29 comments

Endangered classic Mac plastic color returns as 3D-printer filament

https://arstechnica.com/apple/2025/06/new-filament-lets-you-3d-print-parts-in-authentic-1980s-apple-computer-color/
44•CobaltFire•3d ago•4 comments

How Compiler Explorer Works in 2025

https://xania.org/202506/how-compiler-explorer-works
101•vitaut•4d ago•19 comments

How to get started with writing tech video essays

5•sonderotis•3d ago•1 comments

Ask HN: In 15 years, what will a gas station visit look like?

17•thomassmith65•1h ago•32 comments

Binfmtc – binfmt_misc C scripting interface

https://www.netfort.gr.jp/~dancer/software/binfmtc.html.en
77•todsacerdoti•12h ago•19 comments

The last six months in LLMs, illustrated by pelicans on bicycles

https://simonwillison.net/2025/Jun/6/six-months-in-llms/
718•swyx•17h ago•186 comments

Generating Pixels One by One

https://tunahansalih.github.io/blog/autoregressive-vision-generation-part-1/
16•cyruseption•3d ago•0 comments

Joining Apple Computer (2018)

https://www.folklore.org/Joining_Apple_Computer.html
391•tosh•1d ago•113 comments

Efficient mRNA delivery to resting T cells to reverse HIV latency

https://www.nature.com/articles/s41467-025-60001-2
72•matthewmacleod•3d ago•15 comments

Launching the BeOS on Hitachi Flora Prius Systems (1999)

http://testou.free.fr/www.beatjapan.org/mirror/www.be.com/support/guides/hitachi_boot.html
39•doener•10h ago•13 comments

Self-Host and Tech Independence: The Joy of Building Your Own

https://www.ssp.sh/blog/self-host-self-independence/
413•articsputnik•1d ago•199 comments

<Blink> and <Marquee> (2020)

https://danq.me/2020/11/11/blink-and-marquee/
196•ghssds•20h ago•156 comments

Startup Equity 101

https://quarter--mile.com/Startup-Equity-101
99•surprisetalk•3d ago•51 comments

FAA to eliminate floppy disks used in air traffic control systems

https://www.tomshardware.com/pc-components/storage/the-faa-seeks-to-eliminate-floppy-disk-usage-in-air-traffic-control-systems
66•daledavies•18h ago•67 comments

Focus and Context and LLMs

https://taras.glek.net/posts/focus-and-context-and-llms/
70•tarasglek•16h ago•27 comments