Today
Building RegEx from scratch with Stephen Toub
Published on in Programming
This is another excellent 1-hour tour of another complex corner of .NET. Toub describes and shows how the source-generated RegEx engine works.
- The generated source is human-readable and debuggable.
- It is well-commented.
- It updates in real-time as you change the expression.
- It includes XML documentation that describes the regular expression in plain English.
- They rewrote the compiler in .NET 7 to not only better support source generators, but also to be able to emit not only IL, but source... [More]
Building async/await from scratch with Stephen Toub
Published on in Programming
This is another video from Stephen Toub that is just chock/full of useful information.
At 27:30, they start to discuss about the nomenclature of Task
and how it differs from an Action
. It’s funny that neither of them mentioned that tasks in .NET are called promises pretty much everywhere else (JavaScript, Java, etc.). Some libraries also use the word future. For more information, see Futures and promises (Wikipedia).
As he’s building everything, it is really astonishing to note that Hanselmann has to... [More]
Building LINQ from scratch with Stephen Toub
Published on in Programming
This is a great interview with the master of performance-optimization in .NET Stephen Toub. If you’re relatively well-versed in C#, .NET, and Linq, then you can just jump to the second video (linked below). I actually watched the second one first. I didn’t feel like I’d missed anything.
Stephen Toub’s the guy who writes the 100+-page release notes on performance. See the following links.
- Performance Improvements in .NET 5 (46 pages)
- Performance Improvements in .NET 6 (109 pages)
- Performance... [More]
4 days Ago
Links and Notes for May 3rd, 2024
Published on in Notes
Below are links to articles, highlighted passages[1], and occasional annotations[2] for the week ending on the date in the title, enriching the raw data from Instapaper Likes and Twitter. They are intentionally succinct, else they’d be articles and probably end up in the gigantic backlog of unpublished drafts. YMMV.
Table of Contents
1 week Ago
KRAZAM videos are gold
Published on in Fun
KRAZAM makes videos about working in tech and, more specifically, about working in a tech team that has been scrummed out, with lots of layers of management.
This is one of the more recent ones.
“Your friends and family understand what you do.”
“Your friends and family appreciate your humorous work stories…”
“DevOps is a meaningful term.”
“That joke you told in your meeting was funny! If your coworkers were not on mute, you would’ve heard them laughing.”
At the beginning, it shows that... [More]
ESC 2024: Semifinal #2
Published on in Fun
- Malta
- Body suit. Naked-looking. Getting dragged around by a bunch of 90s-era-looking background dancers. This is just f*%ing awful. My ears hate me already. Jesus Christ, anyone who thinks this is good should reevaluate their life choices. This is how we’re starting off? No-one will notice when the robots take over. They’ve blindfolded her, flipped her around, they all threw their shorts off, now they’re porn-dancing. She’s got quite a Madonna-style tooth-gap going on. Good for her. There was... [More]
ESC 2024: Semifinal #1
Published on in Fun
- Cyprus
- Dances way better than Dua Lipa. But, then, doesn’t everybody? She’s 17 and lip-synced in English. Her backup dancers all look like they go to high school with her. She’s very, very cute. Gorgeous, actually. And, for ESC very special: not in a porn-y way. Good for them.
- Serbia
- Alone on the stage. Goth-y. Low, slow song. She sang in what I assume was Serbian. She was barefoot. Utterly forgettable. We won’t have to hear her again.
- Lithuania
- Not English. Rappy. Boys got some backup... [More]