logoalt Hacker News

steveklabnikyesterday at 6:27 PM1 replyview on HN

"don't block the ui thread" is a pretty classic aphorism in any language.


Replies

johnisgoodtoday at 9:12 AM

Hmm. "Fearless concurrency" and the flagship examples are... background threads for search and not freezing the UI?

That is GUI programming 101 from the Win32 era. Every Tcl/Tk app, every GTK app, every Qt app has been doing this for 25+ years.

If Rust's concurrency story were genuinely revolutionary, you would expect examples like:

- Lock-free data structures that are actually hard to get right

- Complex parallel algorithms with non-trivial synchronization

- Work-stealing schedulers with provable correctness

Instead we have "we run grep in a background thread"?

show 1 reply