Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
hi.
Slide 2
Slide 2 text
An Async Call To Arms
Slide 3
Slide 3 text
github @xpaulbettsx
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
Asynchronous is a concern that pervades your entire design.
Slide 9
Slide 9 text
What should we do, Microso ?
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
No content
Slide 12
Slide 12 text
“Just write two versions... ...and maintain them both”
Slide 13
Slide 13 text
No content
Slide 14
Slide 14 text
No content
Slide 15
Slide 15 text
there is no need to be upset
Slide 16
Slide 16 text
Port WinRT to everywhere Async Everywhere Libraries should only use WinRT Ship as a drop-in shim for WinRT
Slide 17
Slide 17 text
Why Bother? Porting once is still hard The world is broken How is this be er?
Slide 18
Slide 18 text
We can no longer write synchronous software. - Abraham Lincoln
Slide 19
Slide 19 text
Winter Await is Coming™
Slide 20
Slide 20 text
IStorageFile
Slide 21
Slide 21 text
IStorageFolder
Slide 22
Slide 22 text
Thread Pools
Slide 23
Slide 23 text
ignore what’s not important
Slide 24
Slide 24 text
Here be Dragons IVector and IMap
Slide 25
Slide 25 text
So just what is the Windows Runtime™?
Slide 26
Slide 26 text
a diagram
Slide 27
Slide 27 text
IVector is like IList except when it’s not.
Slide 28
Slide 28 text
“When building Windows Store apps with the Microsoft .NET Framework, this interface is hidden and developers should use the IList interface.”
Slide 29
Slide 29 text
No content
Slide 30
Slide 30 text
If it’s too hard, you’re not cheating enough - DHH
Slide 31
Slide 31 text
the solution Deviate from the API a bit when necessary
Slide 32
Slide 32 text
Next Level S*** Not just Compatible, but Be er™
Slide 33
Slide 33 text
Native implementations on iOS and Android
Slide 34
Slide 34 text
Just use Task
Slide 35
Slide 35 text
async isn’t always concurrent
Slide 36
Slide 36 text
No content
Slide 37
Slide 37 text
Tests run synchronously
Slide 38
Slide 38 text
A modest proposal Create an “official” WinRT port Drop-in NuGet packages Work with lib devs to port to it
Slide 39
Slide 39 text
Thanks!