~/talk

105 C++ Algorithms in 1 line* of Raku (*each)

links:none on file
slides:none on file

Implements most of the C++ <algorithm> header (~105 items with a few bonuses) as compact Raku idioms, claiming many algorithms need no new functions because map + Empty already yields filter_map. Uses concrete tools: ziptail (zip with skip), meta-operators (zip: <, ==), reduce with race/hyper for parallelism, classify/binary-filter for partition/mismatch, sequences, regex and Unicode set operators. Demonstrates one-line implementations, notes where semantics differ, and shows these compositions are concise, transparent and practically working replacements.

AI-written summary · about

  1. 0:00Introduction
  2. 0:17Title
  3. 2:05FilterMap
  4. 5:40The Problem
  5. 8:00Goals
  6. 9:17Why C
  7. 16:00Ziptail
  8. 19:33Binary Filter
  9. 32:20Raku Symbols
  10. 35:57C Plus Algorithms
  11. 44:29Raku Permutations
  12. 46:33Sorting
  13. 49:42SortedUntil
  14. 51:24adjacentdifference
  15. 55:40binaryfilter
~/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.