Advertisement · 728 × 90

Posts by Christophe Nasarre

Preview
Removing byte[] allocations in .NET Framework using ReadOnlySpan<T> In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T>, look at the associated IL, and discuss the risks

Blogged: Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

andrewlock.net/removingbyte...

In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T> look at the associated IL, and discuss the potential risks

#dotnet

1 day ago 9 2 0 0
Preview
I’m moving to chrisnas.github.io For easier access, I’ve decided to move my blog to github pages at https://chrisnas.github.io/.

I'm moving from Medium to Github pages!
chnasarre.medium.com/aa972d9ff6c6...

1 day ago 7 1 1 0

Great discussion about "new" async/await in .NET with Andy Gocke from the .NET team! A lot for me to read and dig into the new implementation - github.com/dotnet/runti...

4 weeks ago 2 0 0 0
Post image Post image

Magical

1 month ago 0 0 0 0
Preview
How to support .NET Framework PDB format and source line with ISymUnmanagedReader After DIA and DbgHelp, time to dig into ISymUnmanagedReader to get its line in source code.

After DIA and DbgHelp, time to dig into ISymUnmanagedReader to get line and source information from .NET Framework symbols - chnasarre.medium.com/7663f9043b6b...

2 months ago 2 1 1 0
Post image

This is nice: thanks VS!

3 months ago 0 0 0 0
Preview
116 - Optimiser les Strings en .NET

1h40 de sujets techniques liés aux bons/mauvais usages des strings en .NET avec tout plein de questions pertinentes de @dvoituron.bsky.social, Adrien Clerbois et @peug.net.
Les ressources (outils, code source et vidéos) sont aussi disponibles.
devapps.ms/podcasts/116...

3 months ago 2 1 0 0
Preview
But where is my method code? DbgHelp comes to the rescue This post show how DbgHelp could help you figure out the line and source code of each managed methods from a .pdb file

Why would you need .pdb files for .NET assemblies? Don't their already contain all the needed metadata?
This post will show you how to extract the source code and line number information from the .pdb files generated by .NET compilers thanks to DbgHelp API.
chnasarre.medium.com/4188f862211d...

3 months ago 2 1 0 0
Advertisement
Preview
How to dump function symbols from a .pdb file Detail how to write a tool that generates a .sym file listing functions symbols with their address, size and signature from a .pdb file

I just implemented a tool accepting a .pdb file to generate a .sym file listing functions symbols. A first post (chnasarre.medium.com/9826fd4f251e...) shows the coding details.
I'm sharing my vibe coding experience using Cursor in a second longer one (chnasarre.medium.com/f957106a3e9f...)

4 months ago 1 1 0 0
Post image

I spent more time than expected to understand why my .NET profiler never received the event that would help me figuring out the GC mode (Server/Workstation) but Perfview and dotnet-trace did.
I needed to debug the CLR to realize that the event is emitted before the profiler gets initialized :^(

4 months ago 6 0 0 0
Post image

And now the profiler is deadlocking the GC :^(

5 months ago 3 0 0 0
Post image

When you realize that the C++ exceptions you get while debugging your complicated profiler code come from... the Windows anti-virus

5 months ago 2 0 0 0
Preview
DevDay 2025 - Bushidō Code | Developer Conference Belgium Join 500+ developers at DevDay 2025 on November 13th in Mons, Belgium. The largest tech conference in Wallonia. Code with honor, debug with courage.

Venez nous retrouver au DevDay 2025... et avec une ristourne de 20% avec ce code devday.be/ticket?disco... ;^)

En plus de venir discuter du "moins mauvais" usage des strings avec moi, beaucoup d'autres présentations sont très intéresantes.

A très bientôt !

5 months ago 1 0 0 0
Post image

If you want to recompile the .NET 10 RC2 clr to get a solution for VS2026, you should add "18 2026" to that line of runtime\eng\native\gen-buildsys.cmd.
Otherwise the build command will fail

5 months ago 1 0 0 0
Preview
GitHub - chrisnas/Techorama2025: Content for Techorama 2025 conference Content for Techorama 2025 conference. Contribute to chrisnas/Techorama2025 development by creating an account on GitHub.

The slides and source code for the two #Techorama sessions (including the duet with @kevingosse.net) are available in github.com/chrisnas/Tec...

5 months ago 1 0 0 0
Post image

Whaaaaaaat!!!!
My Astronomy Pix of the day app is broken :^(

6 months ago 0 0 0 0
Advertisement
Post image

Too bad it is not version 11111.11

6 months ago 1 0 0 0
Preview
Release 3.28.0 · DataDog/dd-trace-dotnet Summary [Tracer] Add Azure Service Bus instrumentation (#7413) [Tracer] add OTEL quartz autoinstrumentation (#7192) [Tracer] Add Azure Service Bus batching support (#7553) [Test Optimization] Fai...

The 3.28 release of the Datadog .NET profiler supports the new allocations sampling of .NET 10 that allows us to provide a much more statistically accurate view of your application memory!
github.com/DataDog/dd-t...
Thanks Noah Falk for his help on this ~2 years project :^)

6 months ago 1 0 0 0
Post image

I don't understand how people could use GPTs efficiently...
I'm looking for implementation details in the .NET runtime for the generation of gcdump and... ChatGPT and Deepseek are just hallucinating even when I'm pointing them to the current CLR main branch :^(

6 months ago 0 0 1 0
Preview
Tickets - Azure Dev Summit | Lisbon 13 - 16 Oct 2025 Azure Dev Summit is a 4-Day Event for Software Developers, 13-16 Oct in Lisbon, Portugal.

It is not too late to register to @azuredevsummit!
Here is a $200 discount code!
Discount code = spkrpromo
Registration link = azuredevsummit.com/tickets

P.S. Meet there to talk about strings in .NET and maybe win a signed copy of the second edition of Pro .NET Memory ;^)

6 months ago 0 0 0 0
Post image

Time to install VS 2026 now :^)

6 months ago 0 0 0 0
Preview
Live at WOMAD 1982, by Peter Gabriel 9 track album

Reminds me great Peter Gabriel french concerts in the 80s
petergabriel.bandcamp.com/album/live-a...

6 months ago 1 0 0 0
Post image

Did anyone ever tried to use the Wait Chain Transversal API with critical section?
- learn.microsoft.com/en-us/window... implies that it works for critical section but it does not
- the wait field always contain 0 for Mutex (I tried infinite and finite wait)

7 months ago 0 0 0 0
Advertisement
Post image

It seems that I mistyped the ZoomIt video recording shortcut...

7 months ago 2 0 0 0
Post image

Starting to look at GPUs...

7 months ago 0 0 0 0
Post image

Time for a break!

7 months ago 0 0 0 0
Post image

So many birds in Tanzania!

7 months ago 1 0 0 0
Redirecting...

C'est vraiment très triste de perdre un tel talent de passeur de connaissances :^(
www.pourlascience.fr/sr/regards/r...

7 months ago 0 0 0 0

See you next year in Krakow!

7 months ago 1 0 0 0
Post image

When you are allocating a little bit more than usual...

9 months ago 1 0 0 0