Compile to C?
aberba via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 23 07:24:09 PST 2017
On Monday, 23 January 2017 at 14:40:18 UTC, Ola Fosheim Grøstad
wrote:
> 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.
Unless you will be limited by tge limitations of C. Vala
programming language has that issue even though they utilize
GObject
More information about the Digitalmars-d-learn
mailing list