Why is the Rust Compiler So SLOW?
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Related videos
The GTA CEO is so based
The PrimeTime
106.1k views
What even is Quantum Computing?!
ThePrimeTime
75.4k views
Vibe Coding Is The Future
ThePrimeTime
601.2k views
Why Buying GPUs Is a Disaster
ThePrimeTime
211.0k views
The SQLite Rewrite In Rust
ThePrimeTime
224.1k views
Rails World Is So Good
ThePrimeTime
136.6k views
Why CoPilot Is Making Programmers Worse
ThePrimeTime
178.7k views
what is wrong with rust and linux????
ThePrimeTime
229.4k views
TRACTOR - C to Rust AI Compiler By DARPA
ThePrimeTime
116.4k views
Java Is Better Than Rust
ThePrimeTime
435.7k views
Top Comments (10)
because its busy thinking about how its better than c
Saying "Python is not batteries included" is such a crazy thing. Yes, you might want a bunch of dependencies for stuff, but Python absolutely comes with a ton of batteries. In your example of Rust, literally everything you mentioned needing dependencies for is available in Python without a single dependency: JSON encode/decode, HTTP Server (wouldn't use it over third-party options, but it is there), async, multiprocessing, and threads are all build in as are futures if you want them. There is built in templating and even HTML dom parsing.
this whole thing is like designed to aggravate casey muratori. :D
I was complaining about Odin taking 0.8s to compile and 1s to link, all of this and it's still 40s?!?
Prime listing off all the crap you need to make a webserver in Rust is why the language is actually popular. People love to go on and on about memory safety, and there is a subset who really cares about that, but that wouldn't have caused the explosion in popularity. Being able to easily duct tape a thousand dependencies together is what really rocketed it into the mainstream. Made JavaScript and Python devs feel right at home.
TLDR: Sometimes it just be that way.
Finally a good reason to use Rust This post is sponsored by procrastination while compiling gang!
Meanwhile, Zig's compiler compiles half a million line in 10s on my machine, and with incremental it's between 30ms and 4s. It's wild, I think I never wrote large enough project in Rust to feel that, but man, 50s gives me C++/CMAKE ptsd vibe.
Speaking of rich standard libraries, PHP is definitely batteries included
5:06 Appreciate the tokyo yell with the throat/voice injury
Unlock the Data Inside
Turn Videos into Knowledge
- Get FREE 10/day: transcripts, summaries, chats
- Chat with videos, export text & PDF
- $1 free API credit for RAG, chatbots & research
Free forever plan • All features unlocked
Top Comments (10)
because its busy thinking about how its better than c
Saying "Python is not batteries included" is such a crazy thing. Yes, you might want a bunch of dependencies for stuff, but Python absolutely comes with a ton of batteries. In your example of Rust, literally everything you mentioned needing dependencies for is available in Python without a single dependency: JSON encode/decode, HTTP Server (wouldn't use it over third-party options, but it is there), async, multiprocessing, and threads are all build in as are futures if you want them. There is built in templating and even HTML dom parsing.
this whole thing is like designed to aggravate casey muratori. :D
I was complaining about Odin taking 0.8s to compile and 1s to link, all of this and it's still 40s?!?
Prime listing off all the crap you need to make a webserver in Rust is why the language is actually popular. People love to go on and on about memory safety, and there is a subset who really cares about that, but that wouldn't have caused the explosion in popularity. Being able to easily duct tape a thousand dependencies together is what really rocketed it into the mainstream. Made JavaScript and Python devs feel right at home.
TLDR: Sometimes it just be that way.
Finally a good reason to use Rust This post is sponsored by procrastination while compiling gang!
Meanwhile, Zig's compiler compiles half a million line in 10s on my machine, and with incremental it's between 30ms and 4s. It's wild, I think I never wrote large enough project in Rust to feel that, but man, 50s gives me C++/CMAKE ptsd vibe.
Speaking of rich standard libraries, PHP is definitely batteries included
5:06 Appreciate the tokyo yell with the throat/voice injury