July 16, 2018 Re: I have a plan.. I really DO | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | On Monday, 16 July 2018 at 07:49:33 UTC, Kagamin wrote:
> On Friday, 13 July 2018 at 19:30:07 UTC, RhyS wrote:
>> If there is a language out there that gaps that C/Java/dynamic fast and easy feel, and offers the ability to compile down with ease. I have not seen it.
>
> There's no silver bullet, you can choose from what exists or create your own.
If D could be used with automatic reference counting (with native weak references with OPTIONAL automatic cycle collection), while remaining easy to interoperate with C++, that could be a good candidate...
I mean having something like that :
T* pointer on any type (scalar, struct, class)
T strong reference on a class
T^ weak reference on a class
And have --arc and --acc as compiler options.
PS: I know this won't happen unless I implement it myself, I got the message... ;)
|
Copyright © 1999-2021 by the D Language Foundation