Re: std.parallism

2011-05-05 Thread Jason House
Misuse of std.parallelism can very easily cause accidental sharing of data. Both in the interfaces to std.parallelism and inside the code, the whole shared concept is intentionally side stepped. The only use of shared is when using atomic operations from druntime that were properly coded. I

toHash() and Interfaces

2011-05-05 Thread Nrgyzer
Hey guys, I'm trying to call toHash() in a class which receives an interface class as input param. But I always get Error: no property 'toHash' for type My code looks like: module iFBlock; private { import std.stream; } interface IFBlock { public { void write(Stream); } }