News for hackers. Stuff that matters.
Re:(Rust) All-Hands 2026 Retrospective by rr808 on Sunday August 02, 2026 @11:28AM (#49145499)
How long does a compile take? Because this was the biggest issue for me. I dont really like Python but the ability to make some changes then run it instantly is wild for me.
Re:(Rust) All-Hands 2026 Retrospective by woodruffw on Sunday August 02, 2026 @11:40AM (#49145582)
You probably already know this, but I figure it bears repeating: most people should be running `cargo check` during development, not `cargo build`. The latter is only necessary when you actually need the built binary; the former is sufficient for type- and borrow-checking.

(On my local machine, `cargo check` is roughly 2x faster than `cargo build`. It's still slower than hot-reloaded Python, but it's rarely my development bottleneck.)

Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Sunday August 02, 2026 @12:19PM (#49145884)
A non starter for anything related to graphics or UI development, which is kind of most Rust stuff are CLIs or TUIs, like being back on curses heyday, Turbo Vision and Clipper.
Re:(Rust) All-Hands 2026 Retrospective by woodruffw on Sunday August 02, 2026 @12:43PM (#49146058)
Is it? An immense amount of the world’s graphical software is written for native graphical targets like SwiftUI, where the iteration cycle is similarly bound to build times. It’s certainly painful, but I don’t think it’s a non-starter.
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Sunday August 02, 2026 @03:06PM (#49147334)
SwiftUI has an incremental compiler with interactive workflows.
Re:(Rust) All-Hands 2026 Retrospective by woodruffw on Sunday August 02, 2026 @03:54PM (#49147704)
Rust has an incremental compiler. And TMU SwiftUI’s live preview is essentially a very rough approximation of what the actual build would produce; it’s not a suitable replacement for a real build when developing a non-trivial UI.
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Sunday August 02, 2026 @04:06PM (#49147802)
The experiences still fails short of XCode or Playground, hence why Slint has its own scripting language.
Re:(Rust) All-Hands 2026 Retrospective by woodruffw on Sunday August 02, 2026 @04:21PM (#49147933)
Sure, I don't disagree. It's just not clear to me that developers actually index that heavily on hot reloading to begin with.
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Monday August 03, 2026 @01:17AM (#49151493)
Devs doing graphics and game development care so much, that there are companies like Live++ selling hot reloading tools for C++.

Like, devs actually pay for having hot reloading.

Re:(Rust) All-Hands 2026 Retrospective by Klonoar on Sunday August 02, 2026 @12:38PM (#49146022)
Various Rust UI projects have been working towards hot-reloadable capabilities, based on the work from the Dioxus team.

IME it's just not really that big of a deal at this point. YMMV, etc.

Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Sunday August 02, 2026 @03:08PM (#49147342)
I am aware, still far away from what something like C++ Builder was already offering in the 1990's, let alone other more modern alternatives.
Re:(Rust) All-Hands 2026 Retrospective by slopinthebag on Sunday August 02, 2026 @02:43PM (#49147151)
My rust compiles in the time it takes to switch from my editor to my browser to see the changes incremental recompiles are fast enough imo. Dioxus has hot reloading if you want to go faster and Bevy uses it for hot reloading as well.
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Sunday August 02, 2026 @03:09PM (#49147351)
With a beefy desktop, or some Apple wonder CPU, right?
Re:(Rust) All-Hands 2026 Retrospective by slopinthebag on Sunday August 02, 2026 @06:29PM (#49149079)
M2 air. Pay to play brotha
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Monday August 03, 2026 @01:15AM (#49151481)
Which is why devs on other world regions will chose something else, more ammendanble to their pockets to stay productive.
Re:(Rust) All-Hands 2026 Retrospective by slopinthebag on Monday August 03, 2026 @03:36AM (#49152434)
Ok and?
Re:(Rust) All-Hands 2026 Retrospective by pjmlp on Monday August 03, 2026 @05:43AM (#49153460)
And less language adoption in regions whose devs aren't able to afford beefy computers to use Rust ergonomically.

Which is why then they go back other languages,

https://loglog.games/blog/leaving-rust-gamedev

Re:(Rust) All-Hands 2026 Retrospective by slopinthebag on Monday August 03, 2026 @05:59AM (#49153577)
Gamedevs usually have the most powerful machines of all types of devs because of it's very nature. Yes you can't compile Rust on the GPU but big gpu's come with big CPUs usually.
Re:(Rust) All-Hands 2026 Retrospective by est31 on Sunday August 02, 2026 @02:20PM (#49146941)
cargo check is useful to verify the code compiles (it's extremely rare to have compilation errors that survive cargo check). But cargo build is required if you want to actually try out the code you wrote, e.g. in order to run a test that you or the LLM wrote.
Re:(Rust) All-Hands 2026 Retrospective by J_Shelby_J on Sunday August 02, 2026 @03:10PM (#49147364)
Yeah but like, tests encode behavior… sometimes I go all day without running a test. Sometimes multiple days. I’ve been using unit tests less and debug asserts more and more now days anyways. Encoding behavior as close the relevant code as possible. And using types and type state to minimize invariants. Idk, but it seems like such a smell when my coding agent drops 10 unit tests for a 300 LoC module. It means it did a bad job of writing the code in the first place.

Anyways, if the code compiles, but the behavior is wrong, a test might be useful. But so is reading the code… so I’m skeptical of rerunning tests constantly.

Re:(Rust) All-Hands 2026 Retrospective by woodruffw on Sunday August 02, 2026 @02:41PM (#49147131)
Yeah, I mean more for the iteration half -- YMMV, but I find that I make the LLMs most productive when I have them design the typestates first, ensure they compile, and then work on tests after that (rather than stacking tests through the process).
Re:(Rust) All-Hands 2026 Retrospective by Aurornis on Sunday August 02, 2026 @01:11PM (#49146303)
Initial compilation and incremental compilation are very different.

Large Rust projects are broken up into modules. If you change one module you don’t have recompile the whole project.

Remember we’re talking about compensation time versus LLM turns in this thread. Even a 10 second incremental compile is orders of magnitude faster than an LLM turn.

Re:(Rust) All-Hands 2026 Retrospective by majormajor on Sunday August 02, 2026 @01:27PM (#49146430)
> Remember we’re talking about compensation time versus LLM turns in this thread. Even a 10 second incremental compile is orders of magnitude faster than an LLM turn.

This entirely depends on (a) what a step/prompt/turn is trying to do and (b) tooling and rate limiting and various other aspects of your model and/or access to it.

If you have high rate limits and aren't using an Opus-or-larger sized model you can get a LOT of changes done in 10 seconds.

And this is especially true for "oh not all the tests are passing yet, let me change..." iterations where the change attempts are often low-single-digit seconds.

Re:(Rust) All-Hands 2026 Retrospective by embedding-shape on Sunday August 02, 2026 @03:29PM (#49147520)
> I dont really like Python but the ability to make some changes then run it instantly is wild for me.

You'll love Clojure, gets you even closer; you can make changes while your program is running, by changing source code then applying just that function you changed, while your editor is connected to your program and can show what the new results are.

Re:(Rust) All-Hands 2026 Retrospective by 7734128 on Sunday August 02, 2026 @04:15PM (#49147874)
I'm quite often working in a Jupyter notebook where the imported modules are reloaded. I can have x in memory, change method y of X and then call x.y() and get the new definition.

It feels almost criminal that it works, but it's quite nice.