News for hackers. Stuff that matters.
Re:Sub-10 ms Latency in Java: Concurrent GC with Green Threads by orneryostrich on Wednesday August 05, 2020 @01:08PM (#24063082)
But if your program is single-threaded, you don’t need an `Rc` type. The whole point of `Rc` and `std::shared_ptr` is so an object can have one owning pointer per thread, in cases where you’re not sure which thread will finish using the object last.
Re:Sub-10 ms Latency in Java: Concurrent GC with Green Threads by pjmlp on Wednesday August 05, 2020 @03:38PM (#24064697)
Sure you do, try to implement a Gtk-rs application without the Rc<RefCell<>> dance for widgets state.