~/talk

Immutable Arrays Help Mutating Arrays More Efficiently

links:none on file
slides:none on file

Claim: keeping arrays immutable lets the compiler reshape and specialize high-level array code into very efficient mutable implementations. Uses rank polymorphism and tensor comprehensions to encode tiling, blocking and parallel scans by changing array shapes rather than memory calls. Runtime uses lightweight reference counting to perform destructive updates when safe, falling back to a copy-on-write first iteration. Prototype language (Signal Assignment C and related tooling) achieves tiled, multi‑threaded performance comparable to MKL and targets CPUs, GPUs and MPI without changing source.

AI-written summary · about

  1. 0:00Immutability and performance
  2. 3:11Language design with immutable arrays
  3. 11:26Productivity with rank polymorphism
  4. 16:01Concurrency engineering with scans
  5. 21:03Blocking algorithms for cache efficiency
  6. 24:15Mutable arrays complicate code
  7. 25:20Compiler optimizations with immutability
  8. 26:43Parallelism in tensor comprehensions
  9. 27:25Destructive updates with reference counting
  10. 28:50Conclusion
~/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.