Eirik George Tsarpalis
banner
eiriktsarpalis.bsky.social
Eirik George Tsarpalis
@eiriktsarpalis.bsky.social
Software Engineer, .NET Libraries at Microsoft
The first Taco Bell opened in Athens a few weeks back and I couldn't believe the queues being formed. Clearly novelty beats reputation.
October 14, 2025 at 4:30 AM
All copilot. My only inputs were assigning the issue to it and giving review feedback.
May 21, 2025 at 12:08 PM
I experimented with the idea, but it turns out compile-time validation isn't easy to prove. Even if you have the shape for a particular service type, you can't tell if all its dependencies are registered.

It might be possible with different APIs, here I'm just copying Microsoft.Extensions.DI.
February 6, 2025 at 10:03 PM
You're very welcome 😂
January 1, 2025 at 6:46 AM
To be perfectly fair this was mostly the work of Krzysztof W. (whom I can't locate on bsky)
December 9, 2024 at 9:32 AM
Could it be achieved purely through interpretation rather than injecting the relevant machine code? The BF deserializer is probably Turing-complete, so it might be possible to embed a language into the format.
December 4, 2024 at 9:36 PM
Importantly, rather than starting doom.exe as a new process can it be implemented directly using BF features?
December 4, 2024 at 7:27 PM
Good thing it's not a sudoku cube.
November 28, 2024 at 8:47 AM
As much as I like switch expressions, the fact you can't use blocks (like you can in lambdas) is an important barrier to their adoption.
November 27, 2024 at 7:53 AM
You can still achieve it using a custom converter but I wouldn't recommend it.
November 19, 2024 at 9:30 PM
Correct. This is for two reasons: unconstrained polymorphism is a vector for remote code execution and it is required by the source generator/AOT applications.
November 19, 2024 at 9:29 PM
STJ supports polymorphism but you need to configure this explicitly:

learn.microsoft.com/en-us/dotnet...
How to serialize properties of derived classes with System.Text.Json - .NET
Learn how to serialize polymorphic objects while serializing to and deserializing from JSON in .NET.
learn.microsoft.com
November 19, 2024 at 8:58 PM
I realize I haven't shared this on Bluesky yet, so here's my article on the library:

eiriktsarpalis.wordpress.com/2024/10/22/s...
Source Generators for free!
If you’re a seasoned .NET library author, there is a good chance that you’ve had to write some component that is acting on arbitrary user-defined types. This includes serializers, struc…
eiriktsarpalis.wordpress.com
November 19, 2024 at 7:25 PM
Love my M1 air even though there are some workloads where it would really benefit from active cooling.
November 19, 2024 at 7:25 PM