News for hackers. Stuff that matters.
Re:Nuitka: a Python compiler written in Python by amelius on Friday June 18, 2021 @02:33AM (#27547905)
> your cores might look busy, but really you're just wasting most of the time locking/unlocking stuff.

Not if you're reading most of the time and are using a modern concurrent GC.

Re:Nuitka: a Python compiler written in Python by incrudible on Friday June 18, 2021 @08:03AM (#27549470)
It doesn't matter if you're reading or writing, if there's a potential conflict you need to lock, or you need some complex and probably buggy "lock-free" data structure. The complexity and memory overhead of a concurrent GC just goes on top of that.
Re:Nuitka: a Python compiler written in Python by quietbritishjim on Sunday June 20, 2021 @01:32PM (#27572165)
Locking an uncontended lock is cheap (at least compared to a contended one) so actual conflict does matter more than potential conflict.