frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Is making the rust compiler slow a billion dollar mistake?

4•breatheoften•9h ago
Just wondering if other folks feel growing dissatisfaction with the fact that the current leading modern system programming language does not include fast compilation as one of its fundamental design goals.

To me -- this seems like an obvious candidate for a future 'billion dollar' mistake retrospective essay.

How and why is it that 'support fast compilation' isn't a necessary pre-condition for any modern language hoping to achieve serious usage?

With rust in particular -- it seems like a whole lot of the slow compilation behaviors are not fundamental to any of the most important aspects of the language ...

Is there anyone out there who has tried to fork the rust ecosystem in a way which deliberately breaks compatibility in order to chart the simplest path to a fast, scaleable compilation strategy for the language and ecosystem?

I have a feeling that such an effort -- rust with some misfeatures removed, and with the package system simplified in order to speed up compilation would actually take off and be able to replace the current ecosystem relatively quickly ...

Comments

MeetingsBrowser•6h ago
Perfect is the enemy of good, and Rust's compile times are good enough.

When choosing between languages, compile times should be a tie-breaker at most. If Rust had focused on super fast compilation from the start, it probably would have slowed developing the features that actually made it successful.

Its like a startup that spends forever building the perfect scalable backend instead of just solving customer problems. The hacky solution usually wins.

> Is there anyone out there who has tried to fork the rust ecosystem ... I have a feeling that such an effort ... would actually take off and be able to replace the current ecosystem relatively quickly

Forking the entire Rust ecosystem seems pretty unlikely to work, but everything's open source so anyone can give it a shot.

dapperdrake•6h ago
Is a breaking change really needed? Can there be ABI compatibility and just less (slow) optimization?
bjourne•5h ago
I believe the Rust compiler does whole program analysis or, at least, something very similar in spirit. Hence, unless you completely change how the language works it can't be as fast as a simpler compiler. You can work around it by having a daemon that incrementally compiles only changed parts, but then you need to have that daemon running and it's never as smooth as one command that compiles quickly. In other words, yes, I think you are right. Slow compile times reduce adoption.
afdbcreid•3h ago
None of the passes rustc does are whole-program. LLVM does some whole-program passes, but that's also true for C++.
steveklabnik•3h ago
Rust specifically avoids doing whole program analysis.

In Air India's wake, revisiting the case for cockpit video recorders

https://theaircurrent.com/aviation-safety/air-india-171-cockpit-video-recorders/
1•caned•18s ago•0 comments

Jack Dorsey says his 'secure' new Bitchat app has not been tested for security

https://techcrunch.com/2025/07/09/jack-dorsey-says-his-secure-new-bitchat-app-has-not-been-tested-for-security/
1•dmitrygr•2m ago•0 comments

Security vulnerability on U.S. trains – known for 13 years

https://www.tomshardware.com/tech-industry/cyber-security/security-vulnerability-on-u-s-trains-that-let-anyone-activate-the-brakes-on-the-rear-car-was-known-for-13-years-operators-refused-to-fix-the-issue-until-now
1•ta988•4m ago•0 comments

Robot performs first realistic surgery without human help

https://techxplore.com/news/2025-07-autonomous-gallbladder-robot-realistic-surgery.html
1•JumpCrisscross•6m ago•0 comments

OpenAI's "Archive" Button in ChatGPT Still Eats Conversations No Way to Recover

1•contentist•9m ago•0 comments

The ongoing story of seconds on the taskbar

https://devblogs.microsoft.com/oldnewthing/20250421-00/?p=111095
1•thunderbong•10m ago•0 comments

Finding a Job: Build Something Real

https://blog.stuartspence.ca/2025-07-finding-a-job-build-something-real.html
1•zulban•10m ago•1 comments

3 Men Battle the FBI over Buried Civil War Gold. 'Stuff Just Doesn't Add Up.'

https://www.wsj.com/politics/national-security/civil-war-gold-treasure-hunters-fbi-7533544e
1•cwwc•13m ago•0 comments

Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C

https://github.com/sammycage/plutofilter
2•sammycage•15m ago•0 comments

Errors on Fsync Are Unrecovarable

https://danluu.com/fsyncgate/
2•thunderbong•15m ago•1 comments

Show HN: I made a list of free stuff for college founders

https://www.buildincollege.com
1•createdbymason•25m ago•0 comments

On-device AI link previews in Firefox

https://blog.mozilla.org/en/firefox/firefox-ai/ai-link-previews-firefox/
1•sthottingal•30m ago•0 comments

Can an AI model predict perfectly and still have a terrible world model?

https://twitter.com/keyonV/status/1943730486280331460
1•adharmad•37m ago•0 comments

Why Hoon?

https://docs.urbit.org/hoon/why-hoon
1•jm3•41m ago•1 comments

Moss Medicines: The Next Revolution in Biotech?

https://www.the-scientist.com/moss-medicines-the-next-revolution-in-biotech-73131
1•Gaishan•45m ago•0 comments

Scientists hiding AI text prompts in academic papers to receive positive reviews

https://www.theguardian.com/technology/2025/jul/14/scientists-reportedly-hiding-ai-text-prompts-in-academic-papers-to-receive-positive-peer-reviews
2•athousandsteps•49m ago•1 comments

Essential C# MCP Workshop: Empowering AI Agents by Medhat Elmasry [video]

https://www.youtube.com/watch?v=d78yuuez5UQ
2•brisbane-dotnet•50m ago•1 comments

New Navy Device Learns by Doing (1958)

https://www.nytimes.com/1958/07/08/archives/new-navy-device-learns-by-doing-psychologist-shows-embryo-of.html
1•deterministic•52m ago•1 comments

Elon Musk did not found Tesla

https://nerds.xyz/2025/07/elon-musk-did-not-found-tesla/
6•BeauNer•1h ago•4 comments

Why is the Federal Reserve independent, and what does that mean in practice?

https://www.brookings.edu/articles/why-is-the-federal-reserve-independent-and-what-does-that-mean-in-practice/
2•mooreds•1h ago•0 comments

Land Your Dream Job with Confidence

https://careertrackr.io/
1•mooreds•1h ago•0 comments

Getting Started with Vector Search [pdf]

https://media.pragprog.com/titles/bgvector/start.pdf
1•mooreds•1h ago•0 comments

AI Video API

https://www.cqtai.com/en
1•jack00781•1h ago•1 comments

IDF blames 'technical error' after children collecting water killed in strike

https://news.sky.com/story/idf-blames-technical-error-after-gaza-officials-say-children-collecting-water-killed-in-strike-13396138
5•mhga•1h ago•1 comments

Bayeux Tapestry Will Return to the U.K. In 950 Years

https://news.artnet.com/art-world/bayeux-tapestry-british-museum-loan-2665313
2•andsoitis•1h ago•1 comments

A guide on reading PostgreSQL query plans

https://www.prateekcodes.dev/postgresql-explain-analyze-deep-dive/
1•prateekkish•1h ago•0 comments

Thinking First, AI Second

https://deborahwrites.com/blog/thinking-first-ai-second/
3•handfuloflight•1h ago•0 comments

Olimex RP2350pc single-board PC combines a RP2350B chip with plenty of I/O

https://liliputing.com/olimex-rp2350pc-single-board-pc-combines-a-rp2350b-chip-with-plenty-of-i-o/
3•PaulHoule•1h ago•0 comments

Spicy – Generating Robust Parsers for Protocols and File Formats

https://docs.zeek.org/projects/spicy/en/latest/index.html
2•csb6•1h ago•0 comments

Context Engineering: Bringing Engineering Discipline to Prompts

https://addyo.substack.com/p/context-engineering-bringing-engineering
2•twapi•1h ago•0 comments