APL9 from Outer Space
summary
An APL9 interpreter for Plan9 implements OS-level threads that communicate with a mailbox model instead of channels, adds a dyadic spawn operator to name processes, and provides send/receive primitives where receive takes a filtering function and optional timeout. Demos include a doubling responder, a thousand-thread chain that increments a value through 1,000 workers, and a working remote pipe serialization that forwards messages between two interpreters. Performance and debugging remain rudimentary.
AI-written summary · about
chapters (11)
- 0:00About the Plan9 operating system
- 2:15Missing features in APL9
- 3:02Presentation overview
- 3:35Concurrent programming and communicating between threads
- 7:11Message passing in APL9 mailbox model
- 8:30Demonstrations
- 15:15Example use cases
- 16:13Messages between remote systems
- 20:15Summary and conclusion
- 20:52Where to get APL9
- 21:15Questions and feedback
