"Almost there" version of TDPL updated on Safari Rough Cuts

Sean Kelly sean at invisibleduck.org
Fri Dec 11 07:43:10 PST 2009


Álvaro Castro-Castilla Wrote:
> 
> Language extensions for message passing, such as Kilim for Java send messages giving away the ownership of data, not copying it. That's a reason for the need of compiler/runtime support.

Knowledge of unique ownership can obviate the need for copying, but copying is a reasonable fall-back in most cases.

> Also, parallel map/foreach is more feasible as a library-only solution, whether the message passing requires some support from the runtime environment.

It really depends on the language and what your goals are.  There are message passing libraries for C, for example, but they don't provide much in the way of safety.



More information about the Digitalmars-d mailing list