Immutable Message Passing

Jacob Carlborg doob at me.com
Mon Dec 5 00:18:19 PST 2011


On 2011-12-05 08:25, Graham St Jack wrote:

> I always use arrays or structs. Until the tail-const thing (or something
> like it) happens, classes don't seem to be viable in messages between
> threads.

You can always serialize the object, if a copy is acceptable.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list