~/lightning

Software Transaction Memory, For Reals

Lightningat CppCon 2014 · on Sunday, 2014-09-07· [rust]
links:none on file
slides:none on file

Claim: software transactional memory runs in real production code. Used for three years inside dynamics data collection and analysis at Wyatt Technology, with a hand-rolled C++ STM proof-of-concept that proves fast enough because work is embarrassingly parallel and computations dwarf STM overhead. Practical fixes: validate to force conflict to avoid inconsistent reads, schedule side effects to run only after commit, handle starvation with a fallback lock, and use retry replaces condition variables. Overall it works, with caveats about weak atomicity and pathological deadlocks.

AI-written summary · about

  1. 0:00Intro
  2. 1:02Software Transaction Memory
  3. 1:25Dynamics
  4. 1:39Questions
  5. 4:55Why use Transaction Memory
  6. 6:00Why did we use STM
  7. 8:33How did it go
  8. 8:44Parallel structure
  9. 9:22Calculations
  10. 10:19Learning Curve
  11. 10:29Code Review
  12. 10:39Livelock
  13. 11:30Side Effects
  14. 12:10Inconsistent reads
  15. 13:11Weakly atomic
  16. 14:15Retry
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.