logoalt Hacker News

Preemption is GC for memory reordering (2019)

21 pointsby mpweiherlast Wednesday at 1:38 PM5 commentsview on HN

Comments

gblarggtoday at 5:11 AM

If I understand this correctly, it basically has the second thread wait until the first one experiences a hardware interrupt, which implicitly synchronizes memory. This avoids the first thread from needing any synchronization primitives that would slow it down.

Jweb_Gurutoday at 3:59 AM

Oh boy this is a cool blog post. Encourage everyone to read it.

show 1 reply
7e22v837278gb1ptoday at 1:48 AM

"GC"?

show 1 reply