D1.5 anyone?
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Apr 11 13:32:53 UTC 2023
On Tuesday, 11 April 2023 at 13:08:33 UTC, Adam D Ruppe wrote:
> On Tuesday, 11 April 2023 at 12:21:01 UTC, Dmitry Olshansky
> wrote:
>> Interestingly enough if we simple disable semantic check for
>> transitive qualifiers relegating them to pure annotations to be
>
> I've actually thought about making a `-betterD` switch that
> disables most the annotations, turning them to no-ops.
>
> But your first sentence:
>
>> Make no mistake - thread-local by default is great!
>
> Gonna go ahead and disagree with that, the thread local by
> default I think is a mistake now. It causes as many problems as
> it solves.
If needed we may introduce __threadlocal, what should be the
default is a question of compatibility with current D2.
>
> I'd suggest just making all the global variables need explicit
> designation of shared or thread local.
>
>> Unlike transitive const, shallow const (~ Java’s final)
>
> You might recall that D used to have that back in the day!
More information about the Digitalmars-d
mailing list