[WIP] Embed .NET (Core) in your D app

Jonathan Marler johnnymarler at gmail.com
Tue Feb 11 05:41:21 UTC 2020


On Tuesday, 11 February 2020 at 05:21:20 UTC, evilrat wrote:
> Hi everyone,
> recently I was working on .NET embedding, and I have done 
> simple library for hosting .NET Core in D, it is accompanied 
> with small C# library that takes care of some limitations of 
> current .NET implementation regarding native delegates.
> It allows to embed .NET runtime in your program and call .NET 
> code, for example it might be some important library 
> implemented only in C# or maybe you want to build your own game 
> engine and use it as scripting* engine like Unity does.
> *Oh, and this is also interesting because .NET Core 3.1 size is 
> roughly 70 MB with libs, which is nearly the same size as 
> CPython, but has advantage of performance AND security features.
>
> [...]

I started a project just over a month ago that fills the same 
role:

https://github.com/marler8997/clrbridge

I started with the dflat project found here 
(https://github.com/thewilsonator/dflat) and eventually changed 
the design to create this new one.  I'll have to take a look at 
your project and see if we can share/mutually benefit from our 
approaches.


More information about the Digitalmars-d mailing list