~/talk

Composition Intuition II

Talkat CppNorth 2024 · 2024-07-21..07-24· [functional-programming]
slides:none on file

Sequel masterclass demonstrates concrete function composition patterns across C++, Python, Haskell, APL, J, BQN, Jelly and Weva, showing exactly which combinators and library calls solve each problem: warm‑up “sort letters” is done via C++11 transform+sort+transform then upgraded to ranges+zip+values and range‑v3 actions and reimplemented as Haskell point‑free and BQN grade+select+before; parity adjacency uses zip/adjacent_transform/pairwise across languages; min‑average is solved in C++ with zip_transform + Blackbird partials and three BQN variants (reshape+under trick). Live demos and browser editors run, slides and libraries (Blackbird, Dovekey, Jello) are on GitHub, and the concrete claim is that recognizing B1 combinator and delta (before) combinator patterns leads to simpler, more parallelizable code and easier GPU acceleration.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Warm-up problem
  3. 14:44Combinator recap
  4. 28:56Live coding warm-up
  5. 30:21Special array problem
  6. 45:52Live coding array languages
  7. 1:07:10Solution comparisons
  8. 1:09:55Minimum average example
  9. 1:28:30Conclusion and Q&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.