Deep .NET: Deep Dive into RegEx with Stephen Toub and Scott Hanselman

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 73

  • @HTSCoding
    @HTSCoding 4 місяці тому +43

    We need more. Please a deep dive on Expression and Expression Trees !

  • @weneedlittlepatience
    @weneedlittlepatience 4 місяці тому +79

    Could we get a Span from scracth? 👀

    • @Kitulous
      @Kitulous 4 місяці тому

      yes please!

    • @shanselman
      @shanselman 4 місяці тому +59

      Yep. Soon

    • @weneedlittlepatience
      @weneedlittlepatience 4 місяці тому +11

      @@shanselman keep cooking my man, insane duo.

    • @neonmidnight6264
      @neonmidnight6264 4 місяці тому +1

      That would be just readonly ref struct Span { readonly ref T reference; readonly int length; }. All the heavy lifting is done by VM/GC to track such pointers (byrefs) and correctly handle the differences when they point to object interiors, stack or unmanaged memory. It's quite a bit low-level, though I suppose you could emulate it with ArraySlice-style structure...

    • @shanselman
      @shanselman 4 місяці тому +4

      @@neonmidnight6264not exactly

  •  4 місяці тому +2

    I didn't think a session about regex could become so interesting. I'm glad I clicked to start playing. Thanks for the series! It's been awesome!

  • @TodorTsankov-vz3sd
    @TodorTsankov-vz3sd 4 місяці тому +1

    What a great way to finish the day 🤩

  • @justgame5508
    @justgame5508 3 місяці тому

    The string syntax stuff is awesome. Can this be user defined? I.e. can I make my own StringSyntax and specify highlighting rules

  • @leknyzma
    @leknyzma 4 місяці тому +7

    kid in the background feels the regex :D

  • @yogibarista2818
    @yogibarista2818 4 місяці тому +3

    A regex for email address that meets all of the various RFCs that can apply, is basically so ridiculous as to be impossible.

  • @talkalderon9752
    @talkalderon9752 4 місяці тому +19

    Will really like to hear Deep Dive AsyncLocal

  • @AvenDonn
    @AvenDonn 4 місяці тому +49

    The plural of regex is regrets

  • @burndasbr
    @burndasbr 4 місяці тому +4

    Please do an episode where you implement a Source Generator.
    They're so cool, but there isn't that much deep diving yet easy to understand content about it.

  • @christopherserrao4566
    @christopherserrao4566 4 місяці тому +7

    A deep dive session on SIMD please.

  • @MAMW93
    @MAMW93 4 місяці тому +4

    the kids playing in the background made it tougher to follow. love kids.. can't pay attention to both lmao

  • @marklord7614
    @marklord7614 4 місяці тому +29

    Loving this series so far and very useful topics being covered.

  • @johndonaldmelville
    @johndonaldmelville 4 місяці тому +12

    Loving the Hanselman + Toub collaboration. I agree this one was much more user focused than the others. I still love seeing under the covers of c#. I would recommend span and ref structs for a future episode.

  • @djchrisi
    @djchrisi 4 місяці тому +8

    This is really gold. I would appreciate a deep dive into reflection.

  • @imranhussain8700
    @imranhussain8700 4 місяці тому +4

    Friend: Which Series are you watching these days?
    Me: Deep Dot Net.

  • @rudreshgp
    @rudreshgp 4 місяці тому +9

    Thank you Stephen Toub and Scott Hanselman for these videos.
    Even with such a busy schedule you're teaching us.

  • @--Eric--
    @--Eric-- 4 місяці тому +5

    Thanks again, Stephen and Scott, great as usual. 👍🏼
    I'm very happy that you don't use a dark theme, and also that you use a big zoom factor. 👍🏼👍🏼
    I can hardly wait for the next episode, thank you. 👏🏼

  • @guiorgy
    @guiorgy 4 місяці тому +1

    19:54 well technically 6 bytes

  • @LasseVågsætherKarlsen
    @LasseVågsætherKarlsen 4 місяці тому +3

    I would be interested in a discussion around Span, and why, as an example, it can't be stored on the heap. Not a 1 hour talk though, but perhaps as part of a bigger topic. Maybe a deep dive on the garbage collector would be an idea.
    In any case, thank you both so much for this series of videos, keep churning them out as fast as you can, I've learned something new from all of them so far and to the level you guys are taking it, I'm sure I will learn something from every one you release, so keep'em coming.

    • @shanselman
      @shanselman 4 місяці тому

      Span is next

    • @LasseVågsætherKarlsen
      @LasseVågsætherKarlsen 4 місяці тому

      @@shanselman Oh you’re such a tease, you can’t just throw that out there well ahead of the video. Looking forward to it!

  • @obinnaokafor6252
    @obinnaokafor6252 4 місяці тому +1

    Another amazing talk. Please could you invite Tanner Gooding to talk about Tensors and ML libraries, Intrinsics, Numerics and Math Libries? ❤❤

  • @vanlangen
    @vanlangen 4 місяці тому +1

    What a brilliant concept to create a C# code file rather than using reflection.emit. By allowing the compiler to optimize code execution before it's statically integrated into the binary, as opposed to compiling it at runtime, efficiency is significantly enhanced. This capability is exclusive to constant regex strings, as they are transmitted as attributes.

  • @yonatan2608
    @yonatan2608 4 місяці тому

    @dotnet It's really upsetting when you're stopping weekly videos!

  • @jimiscott
    @jimiscott 4 місяці тому

    You have a problem which needs to be solved through Regex - now you have two problems.

  • @Dustyy01
    @Dustyy01 4 місяці тому +2

    Finally a new Episode! 🎉

  • @aimafirm
    @aimafirm 4 місяці тому +1

    Thanks so much for this series! What a dream team here, plus most relevant topics.

  • @MatteoGariglio
    @MatteoGariglio 4 місяці тому +1

    Very very valuable series of videos. Thanks for organizing it and share this content.

  • @hashdynamics978
    @hashdynamics978 4 місяці тому +1

    I love Stephen. Great content.

  • @SteveCatLover
    @SteveCatLover 4 місяці тому +1

    I’d love to see a deep dive on dependency injection!!

  • @__angle
    @__angle 4 місяці тому

    🥰

  • @eddypartey1075
    @eddypartey1075 4 місяці тому +1

    God bless these vids

  • @GuildOfCalamity
    @GuildOfCalamity 4 місяці тому +3

    Toub is the best guest by far. But, can we dark theme for the love of all that is holy?

  • @adamliedloff5409
    @adamliedloff5409 4 місяці тому

    Thank you Scott and Stephen. Simply the best series of code videos I’ve seen. Love the choice of topics. I use them all, but still had an underlying fear that I didn’t really understand them and wasn’t using them correctly. All now totally demystified and I’m going back through code to clean it up. Oh, that feeling of clean code with no niggling gremlins lurking.

  • @gordonbeeming
    @gordonbeeming 4 місяці тому

    Great video, I've not seen a deep dive this way into Regex before... almost feels like it's not that deep from the journey being "structured" so well

  • @DestinationDub
    @DestinationDub 4 місяці тому

    Another amazing video but I still can't do regex!

  • @egvijayanand
    @egvijayanand 4 місяці тому

    reg. Regex Groups, the Zeroth group is always the complete match, whether or not parentheses are used.

  • @fluffydoggo
    @fluffydoggo 4 місяці тому

    We need regex for replacing. I find so many instances where I need to capitalize the first letter when replacing text

  • @troncek
    @troncek 4 місяці тому

    That's all great and all, but dark mode please. :0

  • @alecclews
    @alecclews 4 місяці тому

    Fun thing. I learned how to use Regex by reading the ME editor manual that came with MS C/C++ 5.1 (that was the late 80's). Roll on 40 years and in my last job I was considered a mage because I could do regex (our product exposed the Java RE engine for config settings).
    The support team worshipped me 🙂

    • @neppe4047
      @neppe4047 3 дні тому

      the fact that you said "mage" instead of "wizard" is so funny to me for some reason. probably because I see the word mage only in games whereas I've heard things like "regex wizard"/"x wizard" a lot before.

  • @mrqbboy
    @mrqbboy 4 місяці тому

    Thanks again, Guys.

  • @secvbulrep
    @secvbulrep 4 місяці тому

    U r the best!

  • @jarosawfrankowski7845
    @jarosawfrankowski7845 4 місяці тому

    Great content!

  • @pylvr8021
    @pylvr8021 4 місяці тому

    More Stephane please

  • @leroyvan7357
    @leroyvan7357 4 місяці тому

    thanks you

  • @mehmetck
    @mehmetck 4 місяці тому +2

    This series should be C# 101 learning library. I hope we ll see more content like this. Thanks for your time Stephen and Scott you are rock.

  • @alexisfibonacci
    @alexisfibonacci 4 місяці тому

    Primeagen says "squeal"....

  • @mar_sze
    @mar_sze 4 місяці тому +3

    Love these videos, but for a series called "deep dive" a lot of it seems to be targeted at beginners.

  • @Cryogenic1981
    @Cryogenic1981 4 місяці тому +3

    Please keep the content over 300. This is like a roller coaster from 400 to 50 level multiple times a minute.

  • @Kitulous
    @Kitulous 4 місяці тому +11

    when Stephen says "we" about creating C# or .NET I always think that he single handedly created C# and .NET

    • @AvenDonn
      @AvenDonn 4 місяці тому

      Royal Performance We

    • @chrisnuk
      @chrisnuk 4 місяці тому +4

      Imagine writing something this amazing and knowing that 99.99% of people who use it won't know how good it is AND they probably won't need to 😮