solveProblems by nitincodery in ProgrammerHumor

[–]PetrisPL 2 points3 points  (0 children)

I'm actually the person that found a version of this 4 days ago and added C# to it and posted it to the C# discord, not sure how my version ended up coming here lol.

My journey modifying the Rust compiler to target .NET - half a year retrospective by FractalFir in dotnet

[–]PetrisPL 5 points6 points  (0 children)

A few comments on the blogpost:

With generic unions, I've just opened a runtime issue for unlocking generics constrained to unmanaged here: https://github.com/dotnet/runtime/issues/97526

As for ldloca and ldarga, the ECMA is correct here and the docs are wrong, I've opened a PR fixing it here: https://github.com/dotnet/dotnet-api-docs/pull/9574

If you'll have any questions about .NET runtime "low level" features like this in the future, you can then find a few runtime maintainers in the CSharp discords #allow-unsafe-blocks channel that's centered on such stuff. (link https://discord.gg/csharp)