3 ms·
.NET does support embedding: - As full runtime i.e. hostfxr https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting https://learn.microsoft.com
by neonsunset 2y ago
.NET does support embedding:
- As full runtime i.e. hostfxr https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting https://learn.microsoft.com/en-us/dotnet/core/tutorials/netc... (supplementary: https://github.com/StudioCherno/Coral https://github.com/StudioCherno/Coral)
- As a dynamic library via DNNE with full runtime: https://github.com/AaronRobinsonMSFT/DNNE https://github.com/AaronRobinsonMSFT/DNNE
- As either dynamic (easy) or static (hard) native library: https://github.com/dotnet/samples/tree/main/core/nativeaot/NativeLibrary https://github.com/dotnet/samples/tree/main/core/nativeaot/N...
There are a few community projects which build on top of these to provide a more seamless integration with other languages.
- apitman 2y agoThat's actually really cool, thanks for sharing. Does seem pretty low level and niche though.
- neonsunset 2y agoIt is very popular in gamedev space whenever using C# as a high-performance scripting language. You are right to say this is low-level though, but low-level scenarios are not as niche for .NET platform as they are for other languages in this category.