~/talk

Apple Array Allocation

Talkat ARRAY 2024 · on Tuesday, 2024-06-25· [compilers-and-language-design, python]
instagram:maonue_
slides:none on file

Presents a JITed expression language that uses statically determined memory allocation to manage flat immutable arrays with no garbage collector and no ownership system, claiming one allocation per array (rank + dims + elements) and reachable free insertion via extended liveness analysis. Pipeline produces IR, runs liveness, inserts frees; demos include histogram and Bessel plots from Python and R, a Python extension ~200 lines of C and ~100–120 lines of R, and compilation to object files — the approach works and shows loop fusion.

AI-written summary · about

  1. 0:00Apple array allocation
  2. 1:04Compiler design inspirations
  3. 3:30Flat arrays memory rules
  4. 5:16Compiler pipeline liveness
  5. 8:31Memory safety loop handling
  6. 9:36Polyglot Python R workflows
  7. 12:09Canonical implementation
  8. 13:13Debug inspection capabilities
  9. 15:00Future allocation work
  10. 17:42Array reuse with shape types
  11. 18:27Rust vs garbage collection
  12. 20:17Scalability limits
  13. 21:20Host integration extensions
  14. 22:01Compiler as library vs APL
~/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.