~/talk

Ctries in Clojure; or, Concurrent Transients

Talkat EuroClojure 2015 · 2015-06-25..06-26· [concurrency]
slides:none on file

An implementation of Ctries in Clojure (ctrees.clj v0.0.3) offers a lock-free concurrent hash map with constant-time snapshots and a transient-first API that returns in-place mutated maps. Snapshots produce immutable persistent maps (slower than clojure.core maps) and size remains linear-time. The core uses RD-CSS (descriptor-based restricted double-compare-single-swap) and a GCAS-like generational CAS that avoids per-update allocations. Test coverage uses clojure.test.check plus custom operation generators; concurrency stress tests indicate the design works though testing is still evolving.

AI-written summary · about

  1. 0:00Intro
  2. 1:04Shoulders of Giants
  3. 5:05Ctries: synopsis
  4. 7:59Blending in with Clojure PDSS
  5. 10:37PDS-like version graphs
  6. 12:14j.u.c. ConcurrentMap methods
  7. 14:08Testing strategy
  8. 17:56Diff against PHM, THM
  9. 22:04Ctrie node menagerie
  10. 26:27edit vs gen-verifying ownership
  11. 37:47RDCSS descriptors
  12. 41:54GCAS failure descriptors
~/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.