
Restartable Sequences: A Linux kernel feature for lock-free programming
Hacker News·1w·Justine Tunney
Justine Tunney's deep dive explains how restartable sequences (rseq) let userspace code execute atomic operations without locks by leveraging kernel support for transparent restart on context switches. For systems programmers building high-performance libraries, this is a crucial but under-documented tool that can eliminate contention in concurrent code.
Original story
Read the original on Hacker NewsRelated stories

Devtools
Vivix lets you watch JavaScript execute step-by-step in the browserHacker News Show HN·6d·hlude
Devtools
Capstone: Open-source disassembly framework crosses platforms and architecturesHacker News·6d·gregsadetsky

Devtools
Open Repair Data Standard aims to unify how repair shops track fixesHacker News·6d·cassepipe