Jan Kotas

Results 405 comments of Jan Kotas
trafficstars

> The fast-return block is still too far but looks like MSVC just wants to have a single epilogue, I do hope it will change with native PGO It won't....

> Btw, a quick prototype for a managed JIT_GetRuntimeType: https://github.com/EgorBo/runtime-1/commit/ef7a46583145b9917865dc1eb1cc85ccc041588e We will get to this eventually. I think we need to do more cleanup of the runtime structures to make...

> Then we might look into making static objects (at least those without GC fields inside) also FOH-based How do you plan to do that? I do not think it...

System.Text.Json should be the right area label. Source generators are the only 100% reliable way to perform Json serialization/deserialization in the presence of trimming or AOT compilation without fallbacks. Unfortunately,...

`Microsoft.NETCore.DotNetAppHost` package is bundled into the SDK and installed under `c:\Program Files\dotnet\packs\Microsoft.NETCore.App.Host.win-x64`. We are adding more stuff to it for niche scenarios that do not look like a good fit...

> @jkotas That is not what I see. I added libhostfxr.lib to the package in .NET 6 and I don't see that file in the path you provided for .NET...

BTW: A solution that was implemented in https://github.com/dotnet/runtime/pull/72896 for similar problem was to ship the relevant C/C++ sources in the nuget package. I expect we will prefer shipping C/C++ sources...

@vitek-karas @elinor-fung Any additional feedback?

We are not going to build NativeArchPrefered for this reason. The options we are looking at are future proof and naturally extend to potential new architectures. cc @davidwrighton

> typeof(Do_Abi_GetResults_2_Delegate).MakeGenericType(Marshaler.AbiType); `MakeGenericType` is not really compatible with NativeAOT either.