The SQL Query Stress tool I maintain now runs under .NET 6 and has limitless threads (well - 1000 anyway)
Go and grab the new build here: https://t.co/vK9fZqFnjb
#sqlserver#dotnet /cc @erikdarlingdata
Reading AsyncLocal values from a memory dump: https://t.co/KkFLk7BQXg
Did you know that AsyncLocal uses one of 5 different storage implementations depending on the number of elements associated to the thread? And a new storage is allocated every time you add/remove an item?
From all of the surprising things I made on .NET / C# / GO and other compilers, this takes the cake:
I'm quitting programming; I'll see myself out; bye
#dotnet
I recently found this (don't ask me how) document on competitive programming that was full of cool tips https://t.co/6xXhoChdB7. The "Time Complexity" gives you an intuitive feel for Big O notation and "Estimating efficiency" section explains how expensive it is in reality.
The allocation profiler is Visual Studio 16 is one of my favorite new tools. Hit Alt+F2 and start optimizing your .NET code. Help the .NET GC out by avoiding it when you can😆 #dotnet#VisualStudio
Many of you may recall our launch announcement of our AWS cost management SaaS last December.
We shut it down this month and our Lead Product Engineer, @kkuchta, detailed the lessons we learned in a public retrospective: https://t.co/nXIlW3Z4JC
Lots of improvements coming for interop in .NET 5 ❤️https://t.co/ifhl6AV72l
Curious about future P/Invoke potentially generated via source generators and how it will be bound assuming that they will not IL postprocess the assembly (implicit binding via naming convention?)
A bunch of advice for acquiring locks in C#:
- DO NOT lock on publicly accessible members
- DO NOT lock on this reference
- DO NOT lock on objects with weak identity
- DO NOT lock on non-readonly fields
- DO NOT lock on value types
#multithreading#dotnet
https://t.co/0zw2eWU07p
`winget install terminal`
`winget install powershell`
`winget install powertoys`
What am I doing? Setting up a new machine of course.
It's that simple. Introducing the Open Source #OSS native #WIndows Package Manager! #msbuild
https://t.co/bSSudMlJ10
Work in progress to add support for covariant return types to the .NET runtime. Soon we'll be able to override a virtual method returning `object` with a method returning `string`. Because of how array variance works, weird things might be possible in IL. https://t.co/GSruuA0ju4
@davidfowl Auth in .NET is *finally* starting to catch up, especially OAuth/SSO. It's drop-dead-easy in JS and now only requires a Master's degree in Microsoft.Identity.Web.