CppCon 2018 has ended
Back To Schedule
Wednesday, September 26 • 16:45 - 17:45
Memory Latency Troubles You? Nano-coroutines to the Rescue! (Using Coroutines TS, of Course)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Are you doing memory lookups in a huge table?
Does your embarrassingly random access to your lookup tables lead to memory stalls?

Fear no more!

We will explore techniques
that allow us to do useful work while the prefetcher is busily
working on bringing the
requested cache lines from main memory, by utilizing nano-coroutines.

And the best part, nano-coroutines can be easily implemented using
Coroutines TS that is already available in MSVC and Clang compilers.
With a little bit of library support we can utilize the coroutines to extract intra-thread
parallelism and quadruple the speed up your lookups.

avatar for Gor Nishanov

Gor Nishanov

Software Engineer, Microsoft
Gor Nishanov is a Principal Software Design Engineer on the Microsoft C++ team. He works on design and standardization of C++ Coroutines, and on asynchronous programming models. Prior to joining C++ team, Gor was working on distributed systems in Windows Clustering team.

Wednesday September 26, 2018 16:45 - 17:45 PDT
Aspen Highlands Hall (1st Floor)
  • Concurrency and Parallelism