On Thursday, 27 February 2014 at 15:09:39 UTC, Szymon Gatner
wrote:
On Thursday, 27 February 2014 at 14:56:22 UTC, Namespace wrote:
On Thursday, 27 February 2014 at 14:52:00 UTC, Szymon Gatner
wrote:
On Thursday, 27 February 2014 at 14:42:43 UTC, Dicebot wrote:
There is also one complex and feature-reach implementation
of uniqueness concept by Sonke Ludwig :
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/core/concurrency.d#L281
(Isolated!T)
Priceless for message passing concurrency.
Tbh it only looks worse and worse to me :(
Another example of code necessary to overcome language
limitations.
Do you know Rust? http://www.rust-lang.org/
I do. Do you want me to go away? ;)
No ;) But maybe Rust has your needed features. ;)
If you want to stay at D, you can use the shared and unique
pointer of Dgame.Internal if you want.