Functional Array Funhouse Intensive - Part 4 of 5
summary
Shows a working APL-based compiler and ecosystem called Cody funds (about 1.5k LOC) that compiles defunds APL to C/C++/OpenCL/CUDA and targets GPUs or CPUs (recommendation: AF CPU for most machines). Demonstrations include image loading/display/animate, Mandelbrot and Game of Life examples, and a plotter pathway toward 3D surface plots. Claims big wins in concision and speed but demos are flaky at times (graphics init, occasional resets needed); parser/compiler design (PEG parser, two‑page passes) is concrete and inspectable.
AI-written summary · about
chapters (11)
- 0:00Intro
- 3:00Dont use the library mentality
- 6:00Error trapping
- 9:40Getting up
- 14:20Break
- 19:10catenate
- 28:50pivoting
- 33:13APL code
- 34:12Funhouse compiler
- 40:05Parse
- 43:01Compiler
related talks
01h 17mModern APL in the Real World: Theory, Practice, Case Studies
47mRethinking compilers with live coding
24mAccelerating Haskell GPGPU Programming with Haskell
32m"Making Elm Talk to Your Personal Supercomputer"
37mGenerating Static Websites the Functional Programming Way
24mShared Memory & Parallel Programming with JavaScript
23mPattern-Based Optimization (...)
43mLive coding an Escher painting using Scenic
