Incorporating D

Szymon noemail at gmail.com
Fri Jan 25 14:16:10 PST 2013


In C++ rv-refs do not help with structs (PODs). Do you mean D has 
no refs / pointers for struct passing?

On Friday, 25 January 2013 at 22:13:25 UTC, Namespace wrote:
> On Friday, 25 January 2013 at 21:50:22 UTC, Timon Gehr wrote:
>> On 01/25/2013 10:39 PM, Namespace wrote:
>>> On Friday, 25 January 2013 at 20:45:22 UTC, Szymon wrote:
>>>> Hi,
>>>>
>>>> I would really like to start using D in our small company as 
>>>> a
>>>> C++ replacement. With that in mind I do have few questions:
>>>>
>>>> 1) Is D2 really ready for production code?
>>>
>>> Not really. A big pain in the ass is the missing rvalue ref 
>>> that C++
>>> has.  So using structs is a big disaster.
>>
>> No. Also, it is not stopping production use at all.
>
> No? Still, that's the fact and it doesn't matter whether you 
> agree or not. You don't use structs as many as I do I think.
> And I'm not saying that it is stopping production at all. I'm 
> saying that D is far away from productive usage and that the 
> missing rvalue ref is a big pain.



More information about the Digitalmars-d mailing list