synchronized (this[.classinfo]) in druntime and phobos

Andrei Alexandrescu SeeWebsiteForEmail at
Tue May 29 14:48:04 PDT 2012

On 5/29/12 12:41 PM, Dmitry Olshansky wrote:
> On 29.05.2012 17:59, Jacob Carlborg wrote:
>> On 2012-05-29 14:29, Dmitry Olshansky wrote:
>>> Agreed, awfuly crippled design for a language with Thread-local by
>>> default.
>>> Looks like we have 'oh my god, what were they thinking' moment here.
>>> If anything I'd rather re-implement the whole v-table infrastructure via
>>> mixins, templates & friends.
>> I'm pretty sure that was decided long before D 1.0 and way way longer
>> before D2 where TLS was introduced.
> I know. If anything it's hardly a good excuse, it should have been
> revisited once TLS was introduced. It still can be now.

Don't be hatin'. You'd appreciate the matter considerably more after you 
defined your own language and had its users yell at you for changing 
even a small detail.

The situation is at it is, and there's no need to get agitated. We're 
all on the same boat, trying to make things work out best.


More information about the Digitalmars-d mailing list