Hacker News new | ask | show | jobs
by cmrdporcupine 1387 days ago
Yes, GUI work is a pain because of the way event loops and ownership in existing UI toolkits work, they're generally not designed for this. But Arc<Mutex< is likely your friend here.

Async can be a pain, but you learn the ways. I work in a codebase with quite a bit of it.

There are appropriate and inappropriate places to apply Rust.

1 comments

It surely is my friend, and I will need to manually call clone() and borrow().