"Parallel programming in Pascal" by Primož Gabrijelčič
ฝัง
- เผยแพร่เมื่อ 14 ต.ค. 2024
- Summary: For many Pascal programmers, the topic of parallel programming starts and stops with "write a thread, run a thread". There are better ways to approach this problem, as the rest of the world has already noticed, and we should finally accept that we are no longer living in the nineties and that we should start writing parallel code that focuses on solving some problem and not-as many of us do-on solving problems that arise from improper use of the multithreading paradigm.
43:30 Tasks - declarative over imperative
46:00 TMonitor, TThread.Synchronize, Reader/writer blocks(?), Condition variables
47:00 Communication mechanisms. Messaging, TThread.Queue, TThread.ForceQueue
48:00 Polling
49:00 OmniBlockingCollection , DWCUL (don't write code, use libraries)
51:00 Synchronisation vs concurrency
54:00 Patterns
56:30 Async/Await, optional return channel
58:00 IFuture = simple
59:00 ParallelFor = dangerous
1:00:00 OTL Background Worker
1:01:00 Pipeline. Sequential processing vs embarassingly parallel
1:07:00 Prologue
Very useful :)
I think the slides are overlaid ontop of the video .. and maybe they are about 30 sec behind?
@pmcgee003 seems right!