Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore ideas for asynchronous programming in Dyalog in this conference talk from the 2022 Dyalog User Meeting. Delve into the current state of asynchronous features, including green threads with the spawn operator, .NET tasks, and futures and isolates. Examine how async models differ in syntax and blocking behavior when obtaining results. Learn about a unifying I-beam function that converts threads and tasks into futures. Watch demonstrations using the dfns N-queens function and a wait function. Discover how to return .NET tasks from APL. Download the 2022 Conference Edition of Dyalog to follow along with the presented concepts and examples.
Syllabus
The state of asynchronous features in Dyalog
Green threads with the spawn operator
.NET tasks
Futures and isolates
Async models differ in syntax and blocking behaviour when obtaining results
A unifying I-beam function to convert threads and tasks into futures
Demonstration using the dfns N-queens function
Demonstration using a wait function
Returning .NET tasks from APL
Summary
Taught by
Dyalog User Meetings