~/talk

2022 Conference Edition Part 3a - Future(s)

Talkat Dyalog '22 · 2022-10-09..10-13· [concurrency]
links:none on file
slides:none on file

Dyalog 2022 Conference Edition adds concrete async plumbing: green threads via the spawn operator, .NET tasks and Futures/isolate support, plus a unifying converter I-beam 703 that turns thread IDs or System.Threading.Tasks into APL Futures so calling code treats results uniformly. Demo uses dfns N‑Queens (Queens 12 is slow) and parallel each which returns a vector of Futures immediately; converting a thread to a Future prevents value errors. Exported APL functions can return Task<double> and a C# consumer waits and reads the 5.138 result.

AI-written summary · about

  1. 0:00The state of asynchronous features in Dyalog
  2. 3:25Green threads with the spawn operator
  3. 4:30NET tasks
  4. 7:25Futures and isolates
  5. 8:20Async models differ in syntax and blocking behaviour when obtaining results
  6. 9:50A unifying I-beam function to convert threads and tasks into futures
  7. 13:00Demonstration using the dfns N-queens function
  8. 16:24Demonstration using a wait function
  9. 20:42Returning .NET tasks from APL
  10. 27:05Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.