Michal Strehovský
Michal Strehovský
@migeel.sk
I help building the .NET runtime at Microsoft. My tweets are my own opinions and/or shitposts, not the official party line.
708 followers120 following96 posts
4/N Anyway here it is: github.com/MichalStreho.... I'll probably vibe on it a bit more later. It only has one test running in the CI and it literally is DOOM (ensuring we play the expected demoloop). I hit surprisingly few bugs getting DOOM to run with it (once it got past init, it worked), but YMMV
2/N I've had this in my backlog for _years_. The gist with the COFF object emitter this is using is 5 years old. gist.github.com/MichalStreho...
Michal Strehovský reposted
Found Sokol.NET - C# bindings for the Sokol crossplat gfx framework. If you haven't heard about Sokol, it's a C header-only library to build crossplat gfx/audio apps (games). Sokol.NET wraps it for C# (Win/Linux/Mac/Android/iOS/WASM). Tons of samples. Also native AOT: github.com/elix22/Sokol...
Michal Strehovský reposted
Nice article on the state of native AOT with the release of .NET 10: code.soundaranbu.com/state-of-nat...
Michal Strehovský reposted
Cosmos Gen3: The NativeAOT Era and the End of IL2CPU? valentin.bzh/posts/3 #dotnet #osdev #csharp
Michal Strehovský reposted
Michal Strehovský reposted
A small template to write self-contained Win32 services in C# with NativeAOT: gist.github.com/jbevain/b295...
Michal Strehovský reposted
I've published the third part of my series of articles about writing a .NET garbage collector in C#. In this one, we add a helper method to inspect the objects in memory, learning about thread modes and the DAC. minidump.net/writing-a-ne... #dotnet
Michal Strehovský reposted
After writing a profiler in C#, I've now published the first of a series of articles about how use C# to... write a .NET Garbage Collector. #dotnet minidump.net/2025-28-01-w...
Cool project: a hypervisor-based emulator for Windows x64 user-mode executables. One of my first thoughts upon seeing it - "I wonder if it's also possible to call the Windows hypervisor APIs from C#". github.com/x86matthew/W...
Michal Strehovský reposted
I published part 5 of my "Writing a .NET profiler in C#" series. All the foundations built in the previous articles have been moved to a library named Silhouette. In this new article, we finally have everything we need to write an actual profiler. minidump.net/writing-a-ne... #dotnet
Michal Strehovský reposted
Finally had time over the holidays to realize a long-standing dream of mine: a hex editor that knows about the PE file and .NET metadata format. You can click any byte and it will show you which data structure it is in the tree. Every byte is covered. The parser is at github.com/KirillOsenko...
Michal Strehovský reposted
got my custom sokol-backed c# game engine zinc compiling to wasm using nativeaot-llvm! and for anyone else headed in a similar direction, I spent some time writing up what it took, what bugs I encountered, etc! give it a read here #gamedev #zinc #csharp kylekukshtel.com/csharp-wasm-...
Forgot that the docs are here: www.nuget.org/packages/siz.... To install, simply `dotnet tool install sizoscope --global` but you'll want to read the docs to find out how to create the files this tool operates on.
1/3 New version of sizoscope, my tool to analyze size of .NET native AOT executables, is out! It can now show you sizes of some of the blobs within the executable just to give a more complete picture.
Michal Strehovský reposted
Invoke Mechanism for the .NET CLR, etc. - George Bosworth - 2001/09 www.youtube.com/watch?v=Uimh...
If you're into low level .NET, you should give @xoofx.mastodon.social.ap.brid.gy a follow!
Michal Strehovský reposted
The C# Community Discord is putting on another virtual conference, and I'll be talking performance. SIMD content guaranteed. Nov 24 @ 17:30 UTC www.youtube.com/watch?v=T4Ao...
Last time I got free stuff from Microsoft as an employee was when I got a T-shirt for shipping .NET 6.
Microsoft created a unique purple and blue Surface colorway for employees that worked on the Copilot+ PC launch. This won’t be available to purchase, just something for some Microsoft employees. It looks great in person 👍
The .NET native AOT compiler used to have an unsupported mode where it broke all reflection for size savings. I added the mode in 2019 when Hello World was 4 MB and with broken reflection only 1 MB. It was a good goalpost. In .NET 9 they're both ~1 MB: goalpost reached! github.com/dotnet/runti...
Michal Strehovský reposted
Game Engine Black Book: DOOM v1.2 Game Engine Black Book: WOLFENSTEIN 3D v2.2 The Book of CP-System v1.0 Free pdfs, high-quality 80g premium color prints, PlayStore, and source code are now available. fabiensanglard.net/three_books_...
My Deep dive on native AOT talk is now available for on-demand viewing! www.youtube.com/watch?v=Gmn-...
Starting in 10 hours from now here, available on-demand later: www.youtube.com/watch?v=Gmn-...