News for hackers. Stuff that matters.
Re:Several core problems with Rust by super_flanker on Monday November 24, 2025 @01:05AM (#46030834)
> It might be counterintuitive, but garbage collectors in multithreaded code can be very efficient.

What has garbage collector to do with multithreaded code? Once you have two or more threads which needs to share data, they need to sync and you'd end up using some kind of lock, which will affect the performance. GC doesn't make anything efficient or less efficient here. It might make the code simpler as you don't have to worry about allocation/deallocation, but I don't see how it's magically going to remove the lock.

Re:Several core problems with Rust by byko3y on Wednesday November 26, 2025 @12:49PM (#46060249)
For some reason people from C/C++ world seem to be oblivious to persistent data structures. Those don't need locks, you just swap a single pointer.