Hyper-v

Deep .NET: Let’s Talk Parallel Programming with Stephen Toub and Scott Hanselman



Stephen and Scott are back with more Deep .NET goodness! This time we are talking about Parallel in .NET, parallelism, and …

[ad_2]

source

Related Articles

46 Comments

  1. I feel like other youtube tutorials need to point to these videos when covering topics involving an overview of these techniques. It would help create better code from everyone.

  2. Another great episode. When you showed locking on e.MoveNext(), I’m interested to know how much this changes in a PLINQ world where all the work is in MoveNext(), but you know that you can parallelise that call to some level. Maybe it’s a trivial difference but I could imagine it can get complicated once you think about balancing and streamlining all the calls together.

  3. 51:50 you are talking about the dangers of executing user code inside locks. but i see you are still executing .MoveNext() inside there. But you could also have user code inside .MoveNext(), for example when using yield return or creating a custom implementation of IEnumerable. I there any reasonable way to avoid executing user code inside the lock?

  4. Loving these shows, thanks for making them. Something I would be very interested in seeing in a future video would be some discussion of code branches as they relate to the branchpoints that are reported by dotnet test in coverlet opencover xml reports. For example a simple line of C# could report 14 branchpoints with different paths/offsets and it would be great to know how they actually relate to the line of code. That way it could identify what tests are required to cover the missing branches. I remember Stephen showing some different views of the code, eg IL, and maybe there is some way to relate the xml data to the code in Visual Studio or some website.

  5. A humble request for those of us watching on large screen TV’s. Is there chance we can get Stephen to use Visual Studio Dark Theme? This series deserves 4K TV and popcorn. 🍿 Phenomenal episode as always. 👏🏼 Thank you both.

  6. Now that you mention it, Channels would be a really interesting topic. It's something I've used a lot and has been massively helpful for in-memory messaging and such.

    Edit: A custom, built from scratch, Thread Scheduler would also be really interesting. I know Orleans, for example, sequences the calls to the same grain, but runs in parallel calls to different grains, but I'd love to see how I would go about implementing a scheduler like that. Or maybe a scheduler for the requests on a simple http server.

  7. I literally turned to my wife and told her a new deep .net video dropped when I saw it on my feed. She just shook her head, I guess she couldn't believe it either 😂

  8. I love that this is "just" a meeting in your work day, and you turned it into a video.
    This has made me think about some of the great rambles I've had with a co-worker that would have made an excellent video too. I'm taking this as food for thought for how I could capture that

  9. I want an episode of "too deep" because I'm that guy who steps on the treadmill and thinks 3 too easy. Let's try 10..😂

    Thank you. That was very interesting. I know I could just read the code, but having Mr Toub tell me his thinking makes it so much more interesting!

  10. Got to learn a lot, especially learning to visualize threads Thanks a lot Stephen Toub and Scott Hanselman,
    I majorly work on Function App(Isolated) so just was curious how these Frameworks actually manage these kind of parallelism, I also looked into the threads for one of the execution its quiet confusing it takes around 40-50 thread per execution.
    Thanks once again.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button