Better HN
topnewbestaskshowjobs
Log inSign up

dichloromethane

6 karma · joined Oct 5, 2026 (1mo ago) · 3 submissions

Submissions

comment 6d ago · link · parent

Has anyone found the lean formalisations? They claim that they asked the models to produce one in the README, but they don't appear to be anywhere in the repo.

comment 1mo ago · link · parent

That is a very cool idea. Maybe a bit annoying to use, as you need a fixed size (I think?) special purpose allocator, and having these span across a page boundary doesn't seem possible.

I definitely need to try this out, though.

comment 1mo ago · link · parent

This code seems broken, though. The big challenge with these kinds of lock-free parallel algorithms is always how to deal with lifetimes and prevent use-after-frees (unless you never want to free anything from this tree, which seems a bit unlikely).

The fundamental problem is that nothing prevents a reader from dereferencing a node the writer has free()'d. Fixing this requires either adding RCU or Hazard pointers.