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
On Wednesday, March 6, 2024 6:06:34 AM MST kdevel via Digitalmars-d-learn
wrote:
> On Saturday, 10 September 2022 at 08:48:39 UTC, Andrej Mitrovic
>
> wrote:
> > [...]
> > I wish the compiler would rewrite scope(failure) to use chained
> > exceptions. Otherwise any exceptions thrown within
> > sco
On Saturday, 10 September 2022 at 08:48:39 UTC, Andrej Mitrovic
wrote:
[...]
I wish the compiler would rewrite scope(failure) to use chained
exceptions. Otherwise any exceptions thrown within
scope(failure) can end up losing information about what was the
original exception that was thrown.