No video

Performing Asynchronous I/O Bound Operations (Jeffrey Richter)

  Рет қаралды 14,589

Mame Pathé

Mame Pathé

7 жыл бұрын

In this talk, Jeff shows how to use C# 5's new async/await features (which he helped design with Microsoft). These features allow you to build scalable and responsive applications. We'll discuss how the compiler transforms your code, error handling, limitations, performance, and various other features to simplify your code while getting the most out of the underlying hardware.

Пікірлер: 19
@spsmith1965
@spsmith1965 10 ай бұрын
Many years ago I worked at a company that sold a FTP-like application for mainframe datacenters. It ran on all popular versions of *nix and Windows. The Windows app was the slowest and used the most CPU. I refactored the Windows app to use async IO, overlapped IO and IO competition ports. After the refactor, the Windows app became the best performing (could completely saturated the network), and had the lowest CPU usage (almost undetectable). I was shocked. It was amazing. These technologies are the most amazing and most underappreciated APIs in Windows.
@sach2372
@sach2372 4 жыл бұрын
40:56 Elevator pitch Async await allow you to have sequential programming model, for writing code that performs I/O operations without blocking any threads, thereby allowing you to create more responsive and scalable software.
@Chiramisudo
@Chiramisudo 4 жыл бұрын
It really bothers me when tech talks are uploaded at anything less than 720p at a minimum. This is half as many pixels. Does not look great on my 4k monitor. 😣 Even so, content-wise, excellent. Thanks for posting!
@alekomrisxane
@alekomrisxane Жыл бұрын
This was fantastic explanation!!!
@Nitishkatare
@Nitishkatare 3 жыл бұрын
This videos explained the Async/Await in details
@leahnjr
@leahnjr 7 ай бұрын
Excellent
@aqshinn
@aqshinn 7 жыл бұрын
Excellent!
@puyadaravi3109
@puyadaravi3109 2 жыл бұрын
13:30 What does it mean for a DLL (which is a file) to be notified?
@HandE2Go
@HandE2Go Жыл бұрын
A DLL is required to have a function called DllMain, which takes a DWORD parameter called dwReason (u can call it whatever u want).. when a dll is loaded (Loadlibrary), the Dllmain function is called first with dwReason == DLL_PROCESS_ATTACH. when unloaded (edit: with FreeLibrary), it's called with DLL_PROCESS_DETACH. the dll author will put some init code in the process_attach case and cleanup code in the detach case.
@puyadaravi3109
@puyadaravi3109 Жыл бұрын
@@HandE2Go Thank you for the explanation! :) It seems that the notification mentioned at 13:30 happens after the DLL is already loaded. So, is there another function for handling notifications? Edit: it seems the notification handlers are called DLL_THREAD_ATTACH and DLL_THREAD_DETACH
@r1jsheth
@r1jsheth 3 жыл бұрын
Brilliant.
@focl2003
@focl2003 6 жыл бұрын
Great!
@uttamsuthar9940
@uttamsuthar9940 5 жыл бұрын
Really awesome... Must watch for programmer
@garryiglesias4074
@garryiglesias4074 4 жыл бұрын
I stand corrected, I was going to recommend it to my gardener friend. Thank you.
@francistchatchoua2308
@francistchatchoua2308 7 жыл бұрын
Brillant
@douggale5962
@douggale5962 Жыл бұрын
Threads are only atrocious crap on Windows. On every other OS, creating a thread is nearly zero cost.
Jeffrey Richter - Building responsive and scalable applications
1:02:51
DotNext — конференция для .NET‑разработчиков
Рет қаралды 7 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 12 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 37 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 153 МЛН
Non-blocking IO under the Hood
1:00:08
SQUER Solutions
Рет қаралды 5 М.
Turbocharged: Writing High-Performance C# and .NET Code - Steve Gordon
1:01:12
Async I/O in Depth: Iterative TCP Echo Server
25:50
nyxtom 🏕
Рет қаралды 2,7 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 739 М.
What is the Smallest Possible .EXE?
17:57
Inkbox
Рет қаралды 354 М.
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 323 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 311 М.
I/O Rings and You - Optimizing I/O on Windows
20:06
ScyllaDB
Рет қаралды 1,2 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 12 МЛН