๐ญ๐ฑ ๐๐ถ๐ฑ๐ฑ๐ฒ๐ป .๐ก๐๐ง ๐๐ถ๐ฏ๐ฟ๐ฎ๐ฟ๐ถ๐ฒ๐ ๐ฆ๐ฒ๐ป๐ถ๐ผ๐ฟ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐ฒ๐ฟ๐ ๐จ๐๐ฒ
That Middles and Juniors Don't Know
Here are 15 hidden .NET libraries that will make 5x better and more productive developer:
๐ 1. Refit
โณ Turn REST API calls into typed C# interfaces. No more raw HttpClient boilerplate.
๐ 2. Polly
โณ Add retries, circuit breakers, and timeouts to any outbound HTTP call in minutes.
๐ 3. Scrutor
โณ Auto-register services by convention. Stop writing the same DI registrations by hand.
I added JSX syntax to C# (Roslyn), and built a React-like UI framework POC. Here it is in action, rendering my CSX component, incrementing state from a button click handler, re-rendering, and hot reload!
Anders Hejlsberg (@ahejlsberg) is a living legend: he created Turbo Pascal, Delphi, C# and TypeScript (and today TypeScript is the most-used programming language, globally, as per GitHub.)
Timestamps:
00:00 Intro
02:48 How Anders got into programming
05:40 Building his first compiler
07:44 Turbo Pascal
12:25 Delphi
14:53 Joining Microsoft
19:41 Building C#
29:11 Async/await
34:01 The rise of JavaScript
37:52 Building TypeScript
42:58 How the TypeScript compiler works
48:30 JavaScriptโs strengths and weaknesses
52:18 How Anders uses AI
56:03 What language features work well with AI
1:02:49 How software craftsmanship is changing
1:07:49 Performance and efficiency
1:09:29 Andersโ tool stack
1:11:30 A 30-year career at Microsoft
1:13:40 Book recommendation
Brought to you by:
@AntithesisHQ โ verify your systemโs correctness without human review or traditional integration tests โ and avoid bugs or outages. https://t.co/AKYm4cctss
@WorkOS โ Everything you need to make your app enterprise ready. https://t.co/jhFNq3aFcF
@turbopuffer โ a vector and full-text search engine built on object storage. Itโs fast, cheap, and extremely scalable. https://t.co/w9y67GsFZJ
Four things that stood out to me:
1. โ10x better for 1/10th of the priceโ is a proven winner.
This is what Turbo Pascal did: it sold for $49.95 when competing compilers cost $500, and it was faster and more interactive than competitorsโ products. Conveniently, the low price tag also killed off piracy
2. C# might have not existed without a famous court case.
Microsoft originally hired Anders to architect its Java tools (Visual J++), but the Sun versus Microsoft lawsuit (1997-2001) meant Microsoft could not build on top of Java, as the company that owned Javaโs IP (Sun) sued MS for alleged unauthorized changes to the Java language. Microsoft realized it had to build a new language that combined VBโs productivity with C++โs power. This led to C# and .NET.
3. TypeScript exists because Anders refused to build Script# for the Outlook .com team.
Microsoftโs Outlook .com team asked Andersโ C# team to productize โScriptSharp,โ a language to cross-compile C# to JavaScript. Anders and the C# team pushed back, suggesting that a better approach was to fix JavaScript. Anders felt strongly that to be attractive to the best-of-breed developers in the JavaScript ecosystem, you want people to write JavaScript, and not another language like C#.
4. Designing a programming language is a 10-year play.
As Anders puts it: โVersion one is great, but has all sorts of issues. Youโve got to do version two, but itโs not until version three that it really starts to be great. Then youโve got to convince people to adopt it.โ
5. Illusion of Transparency:
We vastly overestimate how well other people can read our internal mental states.
You suffer more in imagination than in reality.
Speak up, because nobody is reading your mind.
@nixcraft We had this bloating our #FSlogix Windows profiles which when you have tens of thousands of users soon adds up. Removed with registry tweak although needs @googlechrome to run to delete existing.
GenAILocalFoundationalModelSettings FTW
Your cat is leaving a chemical on your face. Its name is F4. The translation is โyouโre family,โ and cats only leave it on people and animals they trust. F4 was identified in 1998 by a French researcher named Patrick Pageat.
Pageat found five different chemicals coming out of glands on a catโs cheeks, chin, and forehead, and labeled them F1 through F5. F2 has to do with mating. F3 is for territory, and cats use it to mark furniture and door frames. (You can buy a synthetic version of F3 at any pet store, sold under the brand name Feliway.) F4 is the social one. The face-rub itself has its own name too. Scientists call it bunting when face hits face, and allorubbing when the whole body gets involved.
F4 builds what researchers call a colony scent. In a wild cat colony, the cats rub against each other constantly until they all smell the same. The shared smell works like a family ID. Cats with the colony scent donโt fight each other. Cats without it get treated like intruders. A study of feral cats at Church Farm, run by biologist David Macdonald, found this rubbing made up 15.7% of all social interactions in the colony.
Cats are picky about who gets F4. They reserve bunting for individuals they bond with. A stranger walking in wonโt get bunted, even if they try to pet the cat. A new cat being introduced to the home wonโt get bunted either. Furniture and walls get F3, the territory chemical, not the social one. Bunting comes out only for the social bond. When your cat plows its face into yours, youโve been chemically classified as family.
The behavior comes from kittenhood. Kittens rub their faces on their mom as a greeting and as a way to beg for food. Adult cats keep the move and redirect it at the people and animals they bond with. When a cat rubs its face on yours, itโs doing the same thing it used to do to its mother.
In feral colonies, this rubbing flows in one direction, and the direction reveals status. Cats on the edges of the group rub toward cats at the center. Lower-status cats rub toward higher-status ones. Kittens rub toward the adults that raised them. The pattern is consistent enough that researchers use it to read social status in the colony. So when your cat plows its face into yours, the gesture also says โyouโre the one with the food and the warm bed.โ
So I was inspired by memory usage comparison for WPF and WinUI and decided to implement Xaml compiler for MFC/C++ apps, the results are mind boggling, 1.7 MB memory usage on Windows 11. Its still WIP but numbers are really telling.
Some time ago, I had the idea to port NVIDIA Physical AI stack to AMD. The motivation was to improve hardware diversity and enable world models and VLAs to run beyond a single ecosystem.
We started with NVIDIA Cosmos Predict 2.5-2B. Porting wasnโt trivial: these models are deeply optimized for NVIDIAโs stack. We used this as an opportunity to apply our ROCm kernels.
The results were surprising:
Both encode and diffusion run faster on AMD Instinct MI300X vs. NVIDIA H200 (FA3) and we still saw significant headroom for further optimization.
Quality is unchanged across modalities (validated with WorldJen)
To be clear, this is no luck. We have deep experience with diffusion models and AMD GPUs. But this just gives us a good opportunity to get closer to a true hardware-to-hardware comparison, as we work with less software abstractions than usual. Just to give an example, on AMD, memory instructions are async with a hardware queue of ordered pending instructions, enabling concurrent load/store with compute without warp specialization. Bottom line: there are real architectural advantages on AMD, if you take the time to work with the hardware.
Note, we did tradeoff ~20% higher memory usage,
That being said, AMD has more to give to begin with :)
in the coming weeks:
AMD versions of Cosmos Transfer and GR00T, an even faster version of Cosmos Predict, and open-sourcing an attention kernel faster than AITER v3 (which is closed-source for some reason? cc: @AnushElangovan )
I've built a full LLM inference engine in C#/.NET 10. From scratch. Not a wrapper - native GGUF loading, BPE tokenizer, attention, KV-cache, SIMD-vectorized CPU kernels, CUDA GPU backend, OpenAI-compatible API. Solo dev, ~2 months, AI-assisted (not vibe-coded!). First preview is out.
Check it out for mode details at https://t.co/Bl5wAYalYY and https://t.co/rQWhKN0iVA