Head Const
rsw0x via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 24 12:15:44 PST 2016
On Wednesday, 24 February 2016 at 19:28:28 UTC, extrawurst wrote:
> On Wednesday, 24 February 2016 at 09:57:51 UTC, Atila Neves
> wrote:
>> On Monday, 15 February 2016 at 22:48:16 UTC, Walter Bright
>> wrote:
>>> [...]
>>
>> I think that increasing language complexity for the sake of
>> C++ integration is a dubious trade-off, especially since "all"
>> that's required is correct name mangling. There's no guarantee
>> of what the C++ side can do with any type of constness anyway,
>> I'd say that any "extern(C++)" mangles as C++ would and leave
>> it at that.
>>
>> Atila
>
> I agree with that concern. I would rather see the effort being
> used to improve D - e.g support for GC-free code than to help
> us integrate the complexity of C++ that D was intended to get
> rid of.
>
> --Stephan
A usable `shared` would even be nice.
More information about the Digitalmars-d
mailing list