On Thursday, 7 March 2024 at 00:38:30 UTC, Richard (Rikki) Andrew
Cattermole wrote:
Yes its opt-in.
https://dlang.org/spec/statement.html#synchronized-statement
As you mentioned in another thread there's handy ABI
documentation for classes and interfaces just here
[https://dlang.org/spec/abi.
On Thursday, 7 March 2024 at 00:38:30 UTC, Richard (Rikki) Andrew
Cattermole wrote:
On 07/03/2024 1:28 PM, Carl Sturtivant wrote:
On Wednesday, 6 March 2024 at 23:45:00 UTC, H. S. Teoh wrote:
In D, there's a pointer to the vtable and another pointer to
a Monitor object (used for synchronized m
On 07/03/2024 1:28 PM, Carl Sturtivant wrote:
On Wednesday, 6 March 2024 at 23:45:00 UTC, H. S. Teoh wrote:
In D, there's a pointer to the vtable and another pointer to a Monitor
object (used for synchronized methods). There was talk about getting
rid of the Monitor field years ago, but noth
On Thursday, 7 March 2024 at 00:28:17 UTC, Carl Sturtivant wrote:
On Wednesday, 6 March 2024 at 23:45:00 UTC, H. S. Teoh wrote:
In D, there's a pointer to the vtable and another pointer to a
Monitor object (used for synchronized methods). There was
talk about getting rid of the Monitor field y
On Wednesday, 6 March 2024 at 23:45:00 UTC, H. S. Teoh wrote:
In D, there's a pointer to the vtable and another pointer to a
Monitor object (used for synchronized methods). There was talk
about getting rid of the Monitor field years ago, but nothing
has happened yet.
Very interesting: is the
On Wed, Mar 06, 2024 at 11:39:13PM +, Carl Sturtivant via
Digitalmars-d-learn wrote:
> I notice that a class with no data members has a size of two words (at
> 64 bits). Presumably there's a pointer to a table of virtual
> functions, and one more. Is the Vtable first?
[...]
> What is actually
I notice that a class with no data members has a size of two
words (at 64 bits). Presumably there's a pointer to a table of
virtual functions, and one more. Is the Vtable first?
A COM class that inherits from IUnknown and has no data members
has a size of three words, presumably as before plus