Using Channels in C# to Enhance Concurrent Code - Jeremy Clark. Dot Net North - May 2021

Поделиться
HTML-код
  • Опубликовано: 19 май 2021
  • Presented by Jeremy Clark
    Producer/consumer problems show up in a lot of programming scenarios, including data processing and machine learning. Channels were added to .NET Core 3.0 and give us a thread-safe way to communicate between producers and consumers, and we can run them all concurrently. In this presentation, we will explore channels by comparing parallel tasks with continuations to using a producer/consumer model. In the end, we'll have another tool in our toolbox to help us with concurrent programming.
    About the speaker
    Jeremy Clark helps developers by sharing his own struggles, mostly in technology, but also with being more social as an introvert, understanding potential for learning, and playing banjo. He has worked as a corporate developer, as a ChImp at a startup, and as a contract developer. Currently, he teaches developers through online courses, workshops, tech articles, and conference talks. He spends most of his time in C# and has recently ventured into Go (golang) to explore some of his favourite topics: interfaces, delegates, concurrency, and parallel programming.
    Presentation Resources:
    github.com/jeremybytes/csharp...

Комментарии • 6

  • @baio1980
    @baio1980 2 года назад +2

    The best intro into channels !

  • @dmitryantonov2417
    @dmitryantonov2417 Год назад +1

    Awesome!

  • @MarreLirre
    @MarreLirre 2 года назад +1

    Thank you for this content!

  • @mageshkumar01111987
    @mageshkumar01111987 Год назад +1

    Nice Topic 🙂

  • @thiva5403
    @thiva5403 2 года назад +1

    This helped me Alot. Thanks

  • @NiamorH

    I am late to the party, just discovered Channels and I can see a lot of overlapping with existing Reactive Extensions. The former has the obvious advantage to integrate naturally with async await and to be part of the standard, but the later seems more powerful for stream composition, scheduler management, etc.