new D2.0 + C++ language

Christopher Wright dhasenan at gmail.com
Thu Mar 19 04:20:57 PDT 2009


Weed wrote:
> Christopher Wright пишет:
>> Weed wrote:
>>> bearophile пишет:
>>>> Weed:
>>>>> I want to offer the dialect of the language D2.0, suitable for use
>>>>> where
>>>>> are now used C/C++. Main goal of this is making language like D, but
>>>>> corresponding "zero-overhead principle" like C++:
>>>>> ...
>>>>> The code on this language almost as dangerous as a code on C++ - it
>>>>> is a
>>>>> necessary cost for increasing performance.
>>>> No, thanks...
>>>>
>>>> And regarding performance, eventually it will come a lot from a good
>>>> usage of multiprocessing,
>>> The proposal will be able support multiprocessing - for it provided a
>>> references counting in the debug version of binaries. If you know the
>>> best way for language *without GC* guaranteeing the existence of an
>>> object without overhead - I have to listen!
>> You cannot alter the reference count of an immutable variable.
> 
> Why?

Because it's immutable!

Unless you're storing a dictionary of objects to reference counts 
somewhere, that is. Which would be hideously slow and a pain to use. Not 
that reference counting is fun.



More information about the Digitalmars-d mailing list