Compile to C?

Ola Fosheim Grøstad via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 23 06:40:18 PST 2017


On Saturday, 21 January 2017 at 19:30:31 UTC, Jack Stouffer wrote:
> On Saturday, 21 January 2017 at 18:38:22 UTC, Nestor wrote:
>> Hi friends,
>>
>> Is there a way to "compile" d code to C, similar to what nim 
>> does?
>>
>> That would be cool for greater portability.
>
> No, and this is actually a terrible idea. See 
> https://forum.dlang.org/post/n1vbos$11ov$1@digitalmars.com

No valid arguments for it being a terrible idea in that thread.

Being able to translate code to other languages is a very useful 
feature and makes a language much more interesting in production.


More information about the Digitalmars-d-learn mailing list