On 10/12/15 7:19 AM, Jonathan M Davis wrote:
On Monday, 12 October 2015 at 03:59:04 UTC, Marco Leise wrote:
Am Sun, 11 Oct 2015 07:32:26 +0000
schrieb deadalnix <[email protected]>:

In C++, you need to assume things are shared, and, as such, use
thread safe inc/dec . That means compiler won't be able to optimize
them. D can do better as sharedness is part of the type system.

With the little nag that `shared` itself is not fleshed out.

Well, it really should be better fleshed out, but the reality of the
matter is that it actually works pretty well as it is. The problem is
primarily that it's a pain to use - and to a certain extent, that's
actually a good thing, but it does make it harder to use correctly.

Yah, I'd like to make "finalizing the language" a priority going forward, and finalizing shared is a big topic. It's hard to present to the world a language with fuzzy corners. -- Andrei

Reply via email to