~/talk

The Most Average Function There Is

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [software-architecture]
slides:none on file

Builds a genuinely single-pass generic mean that picks sum and division types per element kind (signed vs unsigned, integral vs fractional), detects sequences with or without length, and optionally uses Kahan-style compensated sums for floating-point stability. Demonstrates a D implementation using static if introspection to generate optimal code per type, cites a working implementation that fits in 26 lines with ~10 core lines, and notes community reactions (Rust reddit score -18) and broken stdlib examples.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Good Language for Getting Work Done?
  3. 4:37Second-Order Issues
  4. 8:48Issue with Ideological Languages
  5. 15:07Doing What You Want To Do
  6. 17:51Simple Things to Desire
  7. 21:22Example: The Average Function
  8. 24:18A Modest Start
  9. 38:14Integrals vs. Floating Point
  10. 48:00Second-Order Insights
  11. 51:48Code Lines Matter
~/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.