Deep Dive on LINQ with Stephen Toub

  Рет қаралды 53,145

dotnet

dotnet

Күн бұрын

Let's start to explore one of .NET's favorite features, LINQ (Language Integrated Query). LINQ easily enables developers to write query expressions with a declarative query syntax that allow them to perform filtering, ordering, grouping, and so much more with minimal code. Scott and Stephen are back to take you through the depths of this awesome .NET technology.
Part 2: An even DEEPER Dive into LINQ with Stephen Toub - • An even DEEPER Dive in...
Chapters:
00:00:00 Exploring Programming Languages: A Discussion on Async, Link, and Modern Programming Concepts
00:02:24 Understanding Iteration and For Loops in C#
00:07:00 Understanding the Execution and State Management in Programming
00:09:32 Understanding the Select Method in Link Programming
00:11:51 Discussing the Impact of Copilot on Software Engineering Productivity
00:13:38 Understanding and Implementing Selectors in Programming
00:18:52 Exploring Programming Concepts: Implementing Select and SEAL Classes
00:23:19 Understanding and Implementing Enumeration in Computer Science
00:26:12 Exploring the Implementation of Enumerators and Selectors in Programming
00:29:20 Discussion on Implementing Non-Predicable and Nullable Referencies in Programming
00:33:47 Discussing the Implementation and Functionality of Reset in Programming
00:35:29 Understanding the Implementation and Functionality of Iteration in Programming
00:39:58 Understanding State Management and Exception Handling in Programming
00:42:47 Understanding State Machines in Programming
00:49:20 Debugging and Benchmarking in Programming
00:52:47 Exploring Performance Profilers and Zooming in for Detailed Analysis
00:56:08 Deep Dive into Code Profiling and State Management
01:03:44 Exploring Different Approaches to Implementing Omic Operations and Performance Scaling in Programming
01:08:11 Using Benchmark.net for Software Testing
01:09:30 Discussion on Implementing and Benchmarking a Compiler
01:14:45 Discussing Performance Testing and Optimization in Programming
01:16:48 Discussing Memory Allocation and Performance Profiling in Visual Studio
01:17:55 Understanding the Heisen Uncertainty Principle and Benchmark.net in Programming
01:20:03 Exploring Compiler Optimizations and Iteration Loops in Programming
01:26:50 Discussing Code Implementation and Optimization in Engineering
Resources:
Documentation: learn.microsoft.com/dotnet/cs...
Connect with .NET:
Blog: aka.ms/dotnet/blog
Twitter: aka.ms/dotnet/twitter
TikTok: aka.ms/dotnet/tiktok
Mastodon: aka.ms/dotnet/mastodon
LinkedIn: aka.ms/dotnet/linkedin
Facebook: aka.ms/dotnet/facebook
Docs: learn.microsoft.com/dotnet
Forums: aka.ms/dotnet/forums
🙋‍♀️Q&A: aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: aka.ms/learndotnet
#dotnet

Пікірлер: 147
@weneedlittlepatience
@weneedlittlepatience 2 ай бұрын
Wake up babe, dotnet dropped another deep dive with Stephen Toub (we want more)
@naveenkp7849
@naveenkp7849 2 ай бұрын
Absolutely
@frankhaugen
@frankhaugen 2 ай бұрын
And longer, these teases are way too short. 😢 I want to absorb all the knowledge they have
@carlosbueno6259
@carlosbueno6259 26 күн бұрын
Yes!!!! More, please :)
@antonio_carvalho
@antonio_carvalho 2 ай бұрын
Stephen Toub is a great presenter and extremely knowledgeable, what a combo!
@SajadJalilian
@SajadJalilian 2 ай бұрын
This combination is the main reason his videos are extremely exciting.
@osman3404
@osman3404 2 ай бұрын
YES YES ... also Scott is also the BEST host I've ever seen ... he has amazing empathy to sense what we the audiebnce thinking and he calls it out
@vandersonguidi
@vandersonguidi 2 ай бұрын
I'm a simple person, if Stephen Toub is in the video I'll watch it
@johndonaldmelville
@johndonaldmelville 2 ай бұрын
Please, more Stephen Toub -- the deeper the better. Reminds me of the good old days watching Channel 9 in the early 2000s. It (at least looked like) a few guys walking around Microsoft with a video camera asking crazy smart people to explain incredibly difficult problems. It is fun to see smart people thinking hard whether I care about the particular technology or not.
@rcherrycoke7322
@rcherrycoke7322 2 күн бұрын
I’m glad there’s someone else out there that remembers c9
@SlackwareNVM
@SlackwareNVM 2 ай бұрын
Hour, hour and a half attention span? I'm waiting for the 5 hour Director's Cut Extended Edition.
@osman3404
@osman3404 2 ай бұрын
This video is BETTER than ANYTHING on Netflix :) and the Suprise ending was so cool too
@SlackwareNVM
@SlackwareNVM 2 ай бұрын
I would love to see a part 2 with all of the potential optimizations. When you peek unther the covers to see how a library or .net itself implements things, it's really easy to get lost in the code, but a lot of the complexity comes from optimizations that have accumulated over time. It'd be great to be able to build a mental catalogue of "optimization patterns" so that we have an easier time reading code. I think this series will help immensely with this.
@zakizaz1
@zakizaz1 2 ай бұрын
Thank you guys . Please don't stop those series
@mar_sze
@mar_sze 2 ай бұрын
I love these deep dives! Even though I'm already familiar with most of it, there's always a few hidden gems to learn. And I also just enjoy listening to Stephen Toub explain these things from the ground up.
@ripvannwinkler
@ripvannwinkler 2 ай бұрын
I love the time limit they impose because with someone like ST, you know you're going to get right to the meat of the discussion without a lot of cruft. And revisiting something we use every day to explain it in low level detail really helps understand the WHY behind the implementation. GREAT stuff Scott/Stephen.
@acedonk
@acedonk 2 ай бұрын
I believe just listening to Scotts and Stephens friendly banter makes me a better developer! 🙂
@pmnm113
@pmnm113 2 ай бұрын
That's how you teach dotnet, I will await for stephentoub
@AnupShah
@AnupShah 2 ай бұрын
Cheer up guys who is looking this now rather being on Netflix. Thanks Scott. Stephan while reading your old blogs post for async and stuff wished to see you like this and it’s dream true. Please bring more stuff. This gives a great motivation as well. Thanks again.
@ohdev2019
@ohdev2019 2 ай бұрын
Keep this series going! Hard to find content like this, especially with this level of presentation.
@thedarktower75
@thedarktower75 2 ай бұрын
This series with Scott and Stephen is the best programming-related thing I've ever seen on KZfaq. Thank you so much!
@TheChonsey
@TheChonsey 2 ай бұрын
I really enjoy watching and learning from you guys. Pedagogical side of thing is just brilliant. It's so useful when Scott once in a while "takes the foot off the gas pedal" to explain "simple" things like underscore in an integer to separate thousands etc. It's so deep and explaining things from the first principles. Understand once and apply everywhere. It's like a breath of fresh air in an otherwise clean-code and clean-architecture flooded environment.
@draganradovac8803
@draganradovac8803 Ай бұрын
No session with Stephen Toub is ever long enough. Thanks guys that was awesome.
@VincentYang024
@VincentYang024 2 ай бұрын
This is fantastic series. I barely watch movie nor KZfaq video more than once except this series. Thank you Scott and Stephen🎉🎉
@dy0mber847
@dy0mber847 2 ай бұрын
These vids with Stephen Toub just pure gold
@sergiojrdotnet
@sergiojrdotnet 2 ай бұрын
I've been waiting for a series like this for a Int64 time! What an amazing presentation. Please keep it up!
@ryanharris5968
@ryanharris5968 2 ай бұрын
Brilliant stuff. Enjoyed it thoroughly. The great thing about this type of content is that it’s making me think deeper about the code I write.
@larskjrsgaard4881
@larskjrsgaard4881 23 күн бұрын
More of this, please. Scott and Stephen are great at these. Enjoyable, deeply satisfying and these peeks into the layer below my daily dev life are super interesting and are certainly having a valuable impact on my work. Just great stuff!
@sandeepmadineni2981
@sandeepmadineni2981 2 ай бұрын
I am loving these deep dives and the energy and enthusiasm between the two is fantastic. Not to mention the little things you drop in between like sealed classes, statemachine, profiler, benchmark, interlocked vs threadid kept me engaged. Keep throwing these videos, we are happy to catch. Awaiting for the next one..
@denisivanov4888
@denisivanov4888 2 ай бұрын
Gold channel with gold videos.
@jannishecht4069
@jannishecht4069 2 ай бұрын
Thanks, Scott, for stressing the environmental impact. It is at least as important as saving money❤
@marklord7614
@marklord7614 2 ай бұрын
Great stuff! This session will be relevant for many years to come. Next up...Spans?
@stevanfreeborn
@stevanfreeborn 2 ай бұрын
Thank for taking the time to share all your smarts with us!
@lolroflxd
@lolroflxd 2 ай бұрын
Awesome. Cant wait for a extreme deep dive extended directors cut version :D Could watch this content all day long
@caseyspaulding
@caseyspaulding 2 ай бұрын
Thank you! Stephen is great at explaining code and Scott ask questions that I am thinking!
@robadubbdubb
@robadubbdubb 2 ай бұрын
Just fantastic. As always. Thanks guys!
@sudidav
@sudidav 2 ай бұрын
Thanks a lot for the time you guys are putting on this. This is great stuff!
@hhgforfhuv
@hhgforfhuv 2 ай бұрын
Stephen Toub legend, thanks for videos with him.
@tecTitus
@tecTitus 2 ай бұрын
Very very very good video. Haven't seen such clean deep dive since Stephen's STL C++ videoes.
@wiseskeshom4673
@wiseskeshom4673 Ай бұрын
Thank you for the amazing Deep Dive series. We want more please 😊
@cloudycloudlet7091
@cloudycloudlet7091 2 ай бұрын
I love the deep dive videos with Stephen. Please do more!
@Spirch
@Spirch 2 ай бұрын
it's nice to see this, please continue the series
@yonatan2608
@yonatan2608 2 ай бұрын
Oh no, another video with Stephen Toub!!!
@elliotdematteis7825
@elliotdematteis7825 2 ай бұрын
Holy crap just finding out about these deep dives, literally cannot wait to finish this and click on the async/await one sitting in the "up next" section of youtube lol
@Noceo
@Noceo 2 ай бұрын
This kinda feels like the KZfaq version of the infamous C# in Depth (by Jon Skeet). Not to the extend where it will replace it (even if you get all the chapters), but in the sense that you get the same deep understanding of how the language works on a lower level. I really love it and hope to see more videos of this type.
@mmfarahat1
@mmfarahat1 2 ай бұрын
A very useful series, thanks
@mewsic2496
@mewsic2496 2 ай бұрын
Amazing video thank you Scott and Stephen !
@ChaseFreedomMusician
@ChaseFreedomMusician 2 ай бұрын
This series is great!! Thank you!
@dejavupk
@dejavupk 2 ай бұрын
Thank you! That is great video. Can't wait for more 🙂
@oluwolekolawole3802
@oluwolekolawole3802 2 ай бұрын
I love it that there are still people who are actual Computer Science nerds out there. At the end of the day, a lot of syntactic sugar boils down to `1: doSomething(); 2: if not done, GoTo 1;`
@ChaseFreedomMusician
@ChaseFreedomMusician 2 ай бұрын
1: Home 2: Sweet 3: GOTO 1
@josephizang6187
@josephizang6187 2 ай бұрын
I love these deep dives. Thanks guys.
@djchrisi
@djchrisi 2 ай бұрын
Looking forward for the next part. Reflection is a topic I think a deep dive is interesting.
@dankeseb4825
@dankeseb4825 2 ай бұрын
Great series, looking forward to the next one.
@MB-or1kh
@MB-or1kh Ай бұрын
Great show! Keep them coming.
@emmanueladebiyi2109
@emmanueladebiyi2109 2 ай бұрын
This series is amazing!
@juanbautista6766
@juanbautista6766 2 ай бұрын
Keep these deep dives coming!
@irinamarudina3114
@irinamarudina3114 2 ай бұрын
I am not even .NET but a Java developer. Still this video was a motivation booster for me and I can't wait to see the next one with the specific Array optimized version. Thank you!
@damiengu
@damiengu 2 ай бұрын
While this is very cool it's also worth remembering that LINQ to Objects (in-memory implementations like this) are just the tip of the iceberg. Expression trees and IQueryable is what sets LINQ and C# apart from similar in-memory techniques in JavaScript, Swift etc. They don't have a way to get the syntax tree and to allow the query to be translated to a completely different remote language like SQL.
@hakanfostok2547
@hakanfostok2547 Ай бұрын
Great is little word for what you both are doing, words can not describe it, please keep going.
@jarosawfrankowski7845
@jarosawfrankowski7845 2 ай бұрын
One of my favorite series!
@LouisWaweru
@LouisWaweru 2 ай бұрын
I hope it’s a series
@egvijayanand
@egvijayanand 2 ай бұрын
The reason why the exception is thrown during the MoveNext call is the cursor, which keeps track of the items, is positioned right before the first item on the Enumerable. Similarly, the LINQ query is executed when it's used and not where it's defined.
@sanampakuwal
@sanampakuwal 2 ай бұрын
Don't Stop these coming!
@HIOLLJ
@HIOLLJ 2 ай бұрын
Hyped for part 2.
@iamkilroiyo
@iamkilroiyo Ай бұрын
I love this series.
@WeihanLi-iHerb
@WeihanLi-iHerb 2 ай бұрын
thanks very much for sharing, love it, we want more please
@--Eric--
@--Eric-- 2 ай бұрын
Thank you both, this was great, as usual… 👏🏼
@Runningalien
@Runningalien 2 ай бұрын
awesome presentation! very interesting and very well presented! Thank you!
@CuriouslyContent
@CuriouslyContent 2 ай бұрын
Would anyone else pay good money to see Stephen Toub do a dometrain-style course on performance profiling and optimization? Starting with how he thinks about performance optimization, talking about techniques and tools and then running through a robust example using everything he covered to optimize some piece of code... would be super cool if he did it for some open source project as a microsoft-sponsored demo using VS or any other stuff MS wants to showcase. Maybe a piece of OS code that MS uses internally but could never justify spending Stephens time on ;-) We need more Stephens. Would be good for the next generation of programmers to have a solid-starting point for this kind of work.
@kamatapa
@kamatapa 2 ай бұрын
Love these deep dives...
@Danielspss
@Danielspss 2 ай бұрын
this was just what i need it, thank you
@WillEhrendreich
@WillEhrendreich 2 ай бұрын
That was great, thanks!
@fedayka
@fedayka 2 ай бұрын
This is great! Thanks guys!
@EstebanAstudillo
@EstebanAstudillo 2 ай бұрын
Awesome stuff!
@JeanQPublique
@JeanQPublique 2 ай бұрын
It's nice to get some dotnet content for experienced devs.
@_Miguel_Roman_
@_Miguel_Roman_ 2 ай бұрын
Excellent talk!
Ай бұрын
Great video.
@bluecup25
@bluecup25 2 ай бұрын
yay it is back
@daveblack6951
@daveblack6951 2 ай бұрын
That was quite something! Thanks.
@TheProTip
@TheProTip 2 ай бұрын
A deep dive on DLR would be awesome. There is a lot of FUD about "dynamic" that proliferates.
@PerWillner
@PerWillner 2 ай бұрын
Wow, I am hooked 🤯👍
@juan_w_fer
@juan_w_fer 2 ай бұрын
This was super interesting!
@OeHomestead
@OeHomestead Ай бұрын
Keep 'em comin' :-) Parallelism, threading, optimisation, how to take advantage of all the language features next?
@CuriouslyContent
@CuriouslyContent 2 ай бұрын
If Stephen wasn't doing so much good work on everything he touches, I would say please make more videos! But I can't help worrying that every minute he spends explaining something to me, he's not making the language/framework more awesome. We need to clone this mans brain!
@arabiceasycode
@arabiceasycode 2 ай бұрын
love this vedio, youtube should pin it in the top of other videos!
@markgottselig3059
@markgottselig3059 2 ай бұрын
I would absolutely love more Stephen Toub videos! Please get him a decent microphone though, I find the difference in audio quality between Scott and Stephen is distracting
@JakobStrasser
@JakobStrasser 2 ай бұрын
Very interesting, thanks!
@expertreviews1112
@expertreviews1112 2 ай бұрын
Fantastic!!!!
@fabii5555
@fabii5555 2 ай бұрын
The original video got removed while I was watching it. My heart dropped a beat when the connection error popped up 😵
@teevee-ej6zm
@teevee-ej6zm 2 ай бұрын
Thank you that was a great tutorial and very very insightful deep dive. Here we see linq is iterators all the way dow ;) Also thank you Scott for constantly telling Stephen to stop zooming out. Its very hard for us trying to follow the super fast drain dump going on and suddenly the code becomes completely unreadable due to Stephen zooming out all the time.
@marcosborunda7607
@marcosborunda7607 Ай бұрын
I actually found that to be a little distracting
@WillEhrendreich
@WillEhrendreich 2 ай бұрын
I'd love to hear from more people from the fsharp side of life!! Get Chet Husk, Jimmy Byrd, Vlad Zarytovskii, Don Syme, the whole gang.
@DevelTime
@DevelTime 2 ай бұрын
Great video thank you very much. Bring some more goodies, please 🙂 but just remember about proper font size (thank you Scott 🙂 ). Maybe go even deeper with optimization, profiling, micro details. The check with current thread was really neat, I wonder what else Stephen keeps in his sleeves 🙂
@FedasaBote
@FedasaBote 2 ай бұрын
Wow, this should be amazing
@user-cs8ii8tw4y
@user-cs8ii8tw4y Ай бұрын
Surely Reset() is a member on IEnumerator because IEnumerator is C#'s version of the well documented (GoF) Iterator pattern, which is described as MoveNext(), GetCurrent(), and Reset()
@cccyberfamilydk
@cccyberfamilydk 2 ай бұрын
Great. More More.
@SinanNAR
@SinanNAR Ай бұрын
this is dope.
@Paul-uo9sv
@Paul-uo9sv 2 ай бұрын
This is great
@seancpp
@seancpp Ай бұрын
I'm pretty sure the saying is: The 2 hardest things in computer science are: Naming things, cache invalidation, and off-by-1 errors
@kastriotgashi
@kastriotgashi 2 ай бұрын
That was great
@ekkalchev
@ekkalchev 2 ай бұрын
Stephen Toub should be the dotnet president. Vote with thumbs up or down.
@moshtabamorsali
@moshtabamorsali Ай бұрын
First I watched async/await video and thought that is too much for me. Now I'm watching this and find out even LINQ is too much for me :')
@mrqbboy
@mrqbboy 2 ай бұрын
Good stuff
@dotnetdave4356
@dotnetdave4356 21 күн бұрын
Most classes should be sealed! ;-)
@Martin-zo7en
@Martin-zo7en Ай бұрын
@14:17 What is the shortcut Stephen uses to go from the auto-suggested "Select" to "select"?
@m_stf
@m_stf 2 ай бұрын
the bell is smashed
@Kitulous
@Kitulous 2 ай бұрын
didn't know you could goto a case branch to fall through!
@robl39
@robl39 2 ай бұрын
Stephen Toub uses light mode Visual Studio!?!?!?
@ghosttie
@ghosttie 2 ай бұрын
Is the analyzer that makes classes sealed publicly available?
@7th_CAV_Trooper
@7th_CAV_Trooper 2 ай бұрын
Probably an editorconfig setting
@jmlane
@jmlane 20 күн бұрын
I came here to ask the same question. It would be useful!
Writing async/await from scratch in C# with Stephen Toub
1:06:02
An even DEEPER Dive into LINQ with Stephen Toub
1:20:09
dotnet
Рет қаралды 25 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 61 МЛН
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 45 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 134 МЛН
A Complete .NET Developer's Guide to Span with Stephen Toub
1:02:48
C#’s Functional Journey - Mads Torgersen - NDC Sydney 2024
1:00:41
NDC Conferences
Рет қаралды 14 М.
Jerry Nixon - An Instant API using Data API builder
1:16:43
Microsoft Zero to Hero Community
Рет қаралды 99
Saving the Machine the World Forgot
27:53
Inheritance Machining
Рет қаралды 761 М.
Deep Dive into RegEx with Stephen Toub
1:09:31
dotnet
Рет қаралды 18 М.
Understanding how to use Task and ValueTask
26:59
Microsoft Developer
Рет қаралды 26 М.
On .NET Live: Modular Monoliths with ASP.NET Core
1:00:57
dotnet
Рет қаралды 18 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 4,2 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 7 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,5 МЛН