www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - State of ProtoObject

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
What is the state of Andrei's plans on making `ProtoObject` the 
top-most node in D's object taxonomy?

In the mean time, if I want to have objects as lightweight as in 
C++ (in word overhead) can I stabily use extern(C++) instead?
Jan 13 2020
next sibling parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Tuesday, 14 January 2020 at 00:10:46 UTC, Per Nordlöw wrote:
 What is the state of Andrei's plans on making `ProtoObject` the 
 top-most node in D's object taxonomy?
Here's the DIP: https://github.com/andralex/DIPs/blob/ProtoObject/DIPs/DIPxxxx.md
Jan 13 2020
parent Alexandru Ermicioi <alexandru.ermicioi gmail.com> writes:
On Tuesday, 14 January 2020 at 00:14:01 UTC, Per Nordlöw wrote:
 On Tuesday, 14 January 2020 at 00:10:46 UTC, Per Nordlöw wrote:
 What is the state of Andrei's plans on making `ProtoObject` 
 the top-most node in D's object taxonomy?
Here's the DIP: https://github.com/andralex/DIPs/blob/ProtoObject/DIPs/DIPxxxx.md
I still don't understand why not split Object into a set of interfaces like Printable, Hashable, Comparable and etc. The purpose of object itself is to have a common ancestor for all objects with a set of certain properties, and this can be easily fulfilled by an interface. Additional functionality is interpreted by a set of previously mentioned interfaces. Now since they are interfaces and no implementation can be there, we could provide user with a set of mixin templates that supply default behavior for implemented ones. Those interfaces could also have pure/nothrow etc. subinterfaces that an object could implement. Best regards, Alexandru.
Jan 14 2020
prev sibling parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Tuesday, 14 January 2020 at 00:10:46 UTC, Per Nordlöw wrote:
 What is the state of Andrei's plans on making `ProtoObject` the 
 top-most node in D's object taxonomy?
I just got an answer from Andrei: "This is now a task for Atila Neves."
Jan 14 2020
next sibling parent GreatSam4sure <greatsam4sure gmail.com> writes:
On Tuesday, 14 January 2020 at 13:19:02 UTC, Per Nordlöw wrote:
 On Tuesday, 14 January 2020 at 00:10:46 UTC, Per Nordlöw wrote:
 What is the state of Andrei's plans on making `ProtoObject` 
 the top-most node in D's object taxonomy?
I just got an answer from Andrei: "This is now a task for Atila Neves."
I don't get it. I thought andrei said he will still be taking the role of mentoring his students and protoobject is the work of Andrei and one of his students. Is andrei no longer mentoring the student? Is Atila Neves in charge of that now? His andrei no more contributing to D. Is he out of the D ecosystem? I need more clarification.
Jan 14 2020
prev sibling parent 12345swordy <alexanderheistermann gmail.com> writes:
On Tuesday, 14 January 2020 at 13:19:02 UTC, Per Nordlöw wrote:
 On Tuesday, 14 January 2020 at 00:10:46 UTC, Per Nordlöw wrote:
 What is the state of Andrei's plans on making `ProtoObject` 
 the top-most node in D's object taxonomy?
I just got an answer from Andrei: "This is now a task for Atila Neves."
Isn't he currently busy with other things at the moment? -Alex
Jan 14 2020