News for hackers. Stuff that matters.
Re:This Month in Ladybird – October 2026 by mempko on Wednesday November 04, 2026 @01:15PM (#50369397)
Honest question for people. I'm a C++ dev and I'm seeing a lot of moves to rust. Everyone is using agents to move stuff to rust and I tried it myself. The amount of insane hardrive space usage (over 90GB of build artifacts that constantly need cleanup) is that normal? What am I doing wrong. Are people seeing advantages after a move to rust that wasn't there in C++ (assuming no new features). Like is your project better after moving to rust in obvious ways?
Re:This Month in Ladybird – October 2026 by slopinthebag on Wednesday November 04, 2026 @01:38PM (#50369718)
90gb? i've ran cargo clean on a single project and reclaimed over 700gb before.

but i still love rust ofc

Re:This Month in Ladybird – October 2026 by ASalazarMX on Wednesday November 04, 2026 @01:51PM (#50369899)
Jesus, that makes the JavaScript ecosystem look moderate by comparison!
Re:This Month in Ladybird – October 2026 by nicoburns on Wednesday November 04, 2026 @03:33PM (#50371121)
The difference is that this accumulates over time. You'll only get this if you haven't run "clean" for some time (likely months).
Re:This Month in Ladybird – October 2026 by slopinthebag on Wednesday November 04, 2026 @06:52PM (#50373077)
it was days, but it was related to something the agent was doing with tests and targets, where it was basically compiling a billion variations of the almost 500,000loc, 1100 deps, and 50+ crate project it had slopped together lol.
Re:This Month in Ladybird – October 2026 by pornel on Wednesday November 04, 2026 @02:04PM (#50370064)
[delayed]
Re:This Month in Ladybird – October 2026 by afdbcreid on Wednesday November 04, 2026 @02:18PM (#50370247)
Cargo has no cache cleanup for `target` on stable.
Re:This Month in Ladybird – October 2026 by andoowhy on Wednesday November 04, 2026 @02:05PM (#50370072)
Re:This Month in Ladybird – October 2026 by ranger_danger on Wednesday November 04, 2026 @02:29PM (#50370385)
Isn't the advantage memory safety?

When I mentioned, after C++26 failed its vote, that maybe they should use this extra time to focus more on memory safety, I got downvoted instead.

Surely attitude isn't helping their situation.

Re:This Month in Ladybird – October 2026 by jraph on Wednesday November 04, 2026 @02:57PM (#50370693)
You probably read too much into the downvotes, and people who downvoted you in the other thread might not even be the same people deciding on the future of C++.

I didn't downvote you but I didn't find your comment particularly relevant or on topic. This disapproval thing and working on memory safety don't seem related at all. Someone had the impression that you were pushing for Rust without mentioning it. Your comment might have felt like you were backseat driving as well. More memory safety in C++ would be cool, but do you have actual ideas on how to achieve this?

There are a lot of reasons people could have downvoted you. You shouldn't worry too much about it though, just relax and forget about it.

Re:This Month in Ladybird – October 2026 by ahartmetz on Wednesday November 04, 2026 @03:03PM (#50370763)
Shared libraries (i.e. not building every damn dependency) would fix this problem real quick in many situations, but of course, Rust people don't want to commit to an ABI in order to keep their options open. I don't think it makes sense much longer - at this point "can't do shared libraries" seems more like cultural inertia.
Re:This Month in Ladybird – October 2026 by suriyaG on Wednesday November 04, 2026 @03:29PM (#50371063)
Once I spent a month debugging a UAF bug, in a messy C++ codebase.

With rust, those class of errors are very difficult to arrive at, unless you specifically make it so.

with rust, the "risk" gets moved from runtime to compiletime. I'll take a 1TB build bloat over code crashing in prod. any day.

Re:This Month in Ladybird – October 2026 by nicoburns on Wednesday November 04, 2026 @03:40PM (#50371193)
It's normal. But you can somewhat mitigate by:

- Making sure you compile with as few profiles as possible.

- Disabling debug info (or setting it to "line-table-only") for the default profile.

Re:This Month in Ladybird – October 2026 by reallyreason on Wednesday November 04, 2026 @03:42PM (#50371219)
I have the same problem and am regularly `cargo clean`ing hundreds of gigabytes of build artifacts. It is a real problem. I feel like I need minimum 4TB of SSD space just to comfortably work at the scale I'm working now in Rust. That's just for the working space of the target folders across worktrees.

I just think agents benefit a lot from having unavoidable feedback in the dev loop, and Rust affords that through its strictness. It's easier for agents to fall into the pit of success with Rust. I do think it's somewhat lacking in compile-time features, though.