OT: C# now has ref and const ref return

xenon325 anm at programmer.net
Fri Aug 9 14:54:55 UTC 2019


On Wednesday, 7 August 2019 at 16:58:46 UTC, a11e99z wrote:
> On Wednesday, 7 August 2019 at 13:54:46 UTC, Ethan wrote:
>> On Wednesday, 7 August 2019 at 12:36:53 UTC, Bert wrote:
>
>> We have LDC. Someone sitting down and starting up D.NET and 
>> integrating it in to the .NET Core ecosystem would be 
>> fantastic. Then you could write D code in the .NET environment 
>> and get access to the .NET runtime.
>
> [...]
> 
> imo needed D++ (we have LDC)
>
> // next is simple D module interop.d
> //===================================================
>
> codeC {
>   #define SOME_MACRO /* */
>   #include <stdio.h>
>   struct A { .. }
>   printf( "%d", a.fld );
> }
>
> [...]

JFYI, there is https://wiki.dlang.org/Calypso, which basically 
does what you've described. Have no idea what it's capable of, 
latest commit is on 26 Mar 2018.

--
Alexander


More information about the Digitalmars-d mailing list