D as a prototyping language (for C/C++ projects)

monarch_dodra monarchdodra at gmail.com
Tue Feb 26 08:59:22 PST 2013


On Tuesday, 26 February 2013 at 16:34:01 UTC, renoX wrote:
> On Tuesday, 26 February 2013 at 15:26:17 UTC, Craig Dillabaugh 
> wrote:
>> I am a novice D programmer and use C++ in my work. One thing I
>> find myself doing when I need to implement some non-trivial
>> algorithm is that I will originally code it in D and perform
>> testing from there to make sure I have the logic right.
>> Once I have everything working in D I simply port it over to 
>> C++.
>
> I'm curious: is this process still useful with C++11?
>
> BR,
> renoX

Have you tried it?

C++11 can prototype faster than C++, but it ain't D.

On Tuesday, 26 February 2013 at 16:55:50 UTC, Craig Dillabaugh 
wrote:
> On Tuesday, 26 February 2013 at 16:34:01 UTC, renoX wrote:
>> On Tuesday, 26 February 2013 at 15:26:17 UTC, Craig Dillabaugh 
>> wrote:
>>> I am a novice D programmer and use C++ in my work. One thing I
>>> find myself doing when I need to implement some non-trivial
>>> algorithm is that I will originally code it in D and perform
>>> testing from there to make sure I have the logic right.
>>> Once I have everything working in D I simply port it over to 
>>> C++.
>>
>> I'm curious: is this process still useful with C++11?
>>
>> BR,
>> renoX
>
> Again since my work is heavily array based probably, I would
> guess so, but perhaps not quite so much.  How long though until
> C++11 is broadly available?

AFAIK, it's already mostly available from both GCC and VS. *Some* 
functionality is still missing, but nothing major.


More information about the Digitalmars-d mailing list