~/talk

Evaluating Linear Functions to Symmetric Monoidal Categories

slides:none on file

Arrows lose needed parallelism because they force tuple-shaped inputs, so encoding box-and-wire diagrams as arrows wastes CPU; the claim is that symmetric monoidal categories are the right model and can be encoded in Haskell using LinearTypes. The implementation represents each box as a linear function from ports-as-typed-pairs to ports, embeds the SMC into a free cartesian category, then performs an encode/decode runtime elimination of projections and pairings so no duplication occurs. Result: readable code that restores exact parallelism for long-running workflows; requires some metaprogramming tradeoffs.

AI-written summary · about

  1. 0:00Introduction to box diagrams
  2. 2:02The limitations of arrows
  3. 5:57Symmetric monoidal categories
  4. 12:39Linear types as a solution
  5. 16:51Implementing the library
  6. 20:40Defining ports and syntax
  7. 25:33Q&A and closing remarks
~/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.