Incorporating D

Paulo Pinto pjmlp at progtools.org
Mon Jan 28 08:26:28 PST 2013


Am 28.01.2013 16:22, schrieb Namespace:
> On Monday, 28 January 2013 at 15:15:38 UTC, Dejan Lekic wrote:
>> On Friday, 25 January 2013 at 21:39:58 UTC, 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. But there are plenty of
>>> other missing features.
>>
>> Java has far less features than D, including what you complain about,
>> yet it is considered a pretty productive programming language...
>
> I hate to programming in Java because of the many many missing features.
> And because _all_ is stored on the heap. ...

This is not true for current native compilers and JVMs.

If escape analysis can prove the object does not leave scope, new 
actually allocates on the stack.

--
Paulo



More information about the Digitalmars-d mailing list