Special Topic: AC ΓÇô Composable Asynchronous IO For Native Languages

31
Следующее
Популярные
Опубликовано 12 августа 2016, 1:13
In this lecture IΓÇÖll introduce some of our recent work on asynchronous C (ΓÇ£ACΓÇ¥) ΓÇô a technique for making it easier for programmers to write high-performance servers and other communication-intensive applications. Unlike traditional synchronous IO interfaces, AC lets a thread issue multiple IO requests so that they can be serviced concurrently, and so that long-latency operations can be overlapped with computation. Unlike traditional asynchronous IO interfaces, AC retains a sequential style of programming without requiring code to use multiple threads, and without requiring code to be ΓÇ£stack-rippedΓÇ¥ into chains of callbacks. AC provides an ΓÇ£asyncΓÇ¥ statement to identify opportunities for IO operations to be issued concurrently, a ΓÇ£do..finishΓÇ¥ block that waits until any enclosed ΓÇ£asyncΓÇ¥ work is complete, and a cancel statement that requests cancellation of unfinished IO within an enclosing ΓÇ£do..finishΓÇ¥. IΓÇÖll describe the design of AC, along with initial implementations that are integrated with message passing on the Barrelfish research OS, and integrated with asynchronous file and network IO on Microsoft Windows. IΓÇÖll show that AC offers comparable performance to existing C/C++ interfaces for asynchronous IO, while providing a simpler programming model.
Случайные видео
44 дня – 3 184 64018:53
I'm Taking a Break
04.04.22 – 15 3633:45
Microsoft Surface | At HIMSS 2022
автотехномузыкадетское