3 ms·
How about betterC# instead? Given that C++/CLR is a thing, I imagine that it would be possible to get D working on it. JVM is a bit more limited in what it allo
by jmh530 9y ago
How about betterC# instead? Given that C++/CLR is a thing, I imagine that it would be possible to get D working on it. JVM is a bit more limited in what it allows vs. CLR. For instance, C# has the unsafe keyword that allows pointer arithmetic, which would correspond to @system in D. @safe D would correspond to the normal C# behavior on that front.
Probably a lot of work though and I'm not sure why anybody would bother.
- pjmlp 9y agoMicrosoft is. That is why .NET Native and CoreRT exist. .NET 4.6 got a few news ways to control when the GC is allowed to run. Also C# got its reference types improved on version 7, and the roadmap up to 8.0 includes a few more goodies, like spans.
- srean 9y agoD already is and has been (better C#) when taken as a language. No need for a command line flag.