~/talk

Malebolgia - Structured Concurrency for Nim

Talkat LambdaConf 2024 · 2024-05-04..05-10· [rust]
links:none on file
slides:none on file

Library Malebolgia adds a compile time spawn construct that enforces every parallel task eventually joins the main flow and it catches simple read write conflicts by macro inspection. Implementation uses a bounded thread pool and a bounded task queue with cancellation and timeouts to keep memory fixed for embedded targets. The codebase is compact (under 300 lines), combines with locks and lock free techniques, reports surprising wins on DFS and crawler benchmarks and therefore won benchmarks in some cases.

AI-written summary · about

  1. 0:00Nim and Malebolgia intro
  2. 6:50Thread pools with Malebolgia
  3. 11:00Structured concurrency
  4. 18:05Futures and data flow
  5. 21:24Benefits of structured concurrency
  6. 25:01Memory management concurrency
  7. 31:50Compile-time conflict detection
  8. 37:26Parallel map/reduce
  9. 42:03Malebolgia design philosophy
  10. 45:59Q&A
~/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.