Pinned Tweet
Hey #dotnet people! Exciting news! I've launched my YouTube channel: "Dissecting the Code".

It's going to be very similar to my blog, where I'll cover .NET internals, performance tips & tricks, and more deep dives. #csharp

I've already published the first two videos:
➡️ Episode 0: W➡️ Episode 1: Dissecting Variable Lifetime
I hope you'll like it! Please share, subscribe, and let me know what you think! Your support means a lot to me. 🙏
Links to the channel & videos are 👇
7
30
192
17,073
Sergiy Teplyakov 🇺🇦 🇺🇸 retweeted
Heya! 🥳 Today I released CodeAlta 1.0.0, the AI coding agent developed in C# .NET (mostly) which includes a brand-new desktop frontend! 🚀 Works with your ChatGPT / Copilot subscriptions and more. Single file C# plugins also supported there! 🤯
15
30
208
14,771
A very nice read. I have a different experience using LLMs day-to-day, but, boy, love Mark’s take on this!
New article: On learning programming in an age of LLMs. blog.ploeh.dk/2026/09/16/on-…
0
0
1
461
Opus 5, Medium reasoning.

I have a skill that explicitly asks to use a dedicated skill for creating a PR. The agent ignored the instruction.

The reason? ¯_(ツ)_/¯

But the coding is definitely solved, folks!
0
1
9
1,859
It's been just over a month since my first Dometrain course, Mastering C#, was released.

I wasn't sure how a 3.5-hour deep dive into C# would land, but it's #2 trending course today and was one of Dometrain's five most-viewed courses last month!

Use code MASTERING40 for 40% comment.
1
0
3
396
Replying to @STeplyakov
And here is the link to the course: dometrain.com/course/masteri…
0
0
1
208
On a non-technical side (that I very rarely share here). I’ve started bouldering about a year ago, and Yesterday I did my first V6!
This one definitely matched my style: physical, not particularly technical with very grippy holds. But still, it was amazing to do it!
1
0
9
594
.NET Team should pay better attention to the docs, since a lot of people assume the examples are best practices.

Here is an anti-example: don't extend IEnumerables with indexers that calls ElementAt.

Indexer has an assumption that the cost is O(1).
15
13
148
15,366
Sergiy Teplyakov 🇺🇦 🇺🇸 retweeted
Ok scrap that. Had a chat and it turns out it is 100% happening but they’ve been slow announcing it. We need more transparency on the biggest .NET event of the year but I’m so glad they’re doing it
So no .NET Conf from Microsoft this year because Microsoft doesn't want to support it. Interesting.
11
10
197
21,594
I'm super happy to announce that, after 4 months working on it, my course Mastering C# is now live on Dometrain!

The internals of records, structs, classes, union types, pattern matching, LINQ and much more: all covered in 3+ hours of advanced content.

If you love to understand rse is definitely for you.

#dotnet #csharp
4
11
68
3,161
Replying to @STeplyakov
Here is the link to the course with a 30% discount automatically applied:
dometrain.com/course/masteri…

And happy learning to you all!
0
0
2
331
New video on Dissecting the Code YouTube Channel: "How LINQ works?" - youtu.be/hFKCOeUfZaA?si…

I've seen too many cases when misunderstanding of IEnumerables was causing confusion for devs and the desire to ban LINQ in the codebases altogether.

To understand LINQ we should understand iterator blocks. And this is what I'm covering for almost 20 minutes! :)
0
1
10
1,001
"Zero" cost delegates in .NET 10

JIT in .NET 10 in some cases can fully eliminate the abstraction cost of using delegates.

Enumerable.Any can be as efficient as hand-written loop that takes a span out of a list!
6
18
136
7,747
Replying to @STeplyakov
More information in my latest episode on Dissecting the Code YouTube channel: youtu.be/-h5251IWv-Y?si…
0
1
7
1,326
Next video on Dissecting the Code channel. This time I cover .NET 10 performance improvements around de-abstracting the delegates.

In .NET 10, the LINQ Any method can easily outperform a manual loop over a list! Awesome job, .NET team!

youtu.be/-h5251IWv-Y?si…
2
2
10
1,835
Replying to @STeplyakov
As always, would appreciate spreading the word and sharing the video.

And if you have recommendations on what I can cover next, I'll be happy to hear that!
0
0
0
298
Sergiy Teplyakov 🇺🇦 🇺🇸 retweeted
I wanted to understand how GPT works, so I ported Karpathy's microgpt.py to C# from scratch. No frameworks and NuGet packages, just plain math in ~600 lines of code.

It builds a tiny GPT that learns from 32K human names and invents new ones. Every piece is there: autograd, attention, Adam optimizer, the works. Just at a scale you can actually sit down and read.

I also wrote a prerequisites guide that walks through all the math and ML you need, starting at a high school level. If you've ever wanted to peek under the hood of ChatGPT without drowning in linear algebra textbooks, this might help.

github.com/milanm/AutoGra…
New art project.
Train and inference GPT in 243 lines of pure, dependency-free Python. This is the *full* algorithmic content of what is needed. Everything else is just for efficiency. I cannot simplify this any further.
gist.github.com/karpathy/8627f…
29
183
1,818
200,440
Another video on Dissecting the Code YouTube channel: "ConfigureAwait best practices".

I feel we have a cargo cult on using ConfigureAwait without thinking too much.

I've seen cases when the application code was filled with it "to improve performance" or "to avoid deadlocks". And it was very hard to convince that this is not how ConfigureAwait should be used.

In this video I'm covering why we have ConfigureAwait in the first place and how to use it correctly.

youtu.be/bUHQeY-DlBc?si…
1
5
14
1,514
Replying to @STeplyakov
And, as always, thanks for sharing the video!

/cc: @davidfowl, @shanselman, @dotnet, @VisualStudio
0
0
2
330
Sergiy Teplyakov 🇺🇦 🇺🇸 retweeted
0
7
17
2,680