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

2009-12-11 Thread Sean Kelly
dsimcha Wrote: > == Quote from Sean Kelly (s...@invisibleduck.org)'s article > > Á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 >

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

2009-12-11 Thread bearophile
dsimcha: > The exception, though, is when someone is using a construct that would only be > used by people who really need efficiency, and thus has already explicitly > asked > for efficiency. This includes parallel foreach. In these cases, I think that > "efficiency first, safety second" has to

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

2009-12-11 Thread dsimcha
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > �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. > Know

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

2009-12-11 Thread Sean Kelly
Á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 co

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

2009-12-11 Thread Álvaro Castro-Castilla
Sean Kelly Wrote: > dsimcha Wrote: > > > == Quote from Sean Kelly (s...@invisibleduck.org)'s article > > > dsimcha Wrote: > > > > > > > > This is great for super-scalable concurrency, the kind you need for > > > > things like > > > > servers, but what about the case where you need concurrency mo

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

2009-12-10 Thread Sean Kelly
dsimcha Wrote: > == Quote from Sean Kelly (s...@invisibleduck.org)'s article > > dsimcha Wrote: > > > > > > This is great for super-scalable concurrency, the kind you need for > > > things like > > > servers, but what about the case where you need concurrency mostly to > > > exploit data > > > p

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

2009-12-10 Thread dsimcha
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > dsimcha Wrote: > > > > This is great for super-scalable concurrency, the kind you need for things > > like > > servers, but what about the case where you need concurrency mostly to > > exploit data > > parallelism in a multicore enviro

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

2009-12-10 Thread Sean Kelly
dsimcha Wrote: > > This is great for super-scalable concurrency, the kind you need for things > like > servers, but what about the case where you need concurrency mostly to exploit > data > parallelism in a multicore environment? Are we considering things like > parallel > foreach, map, reduce

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

2009-12-10 Thread dsimcha
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > �lvaro Castro-Castilla Wrote: > > Andrei Alexandrescu Wrote: > > > > > http://my.safaribooksonline.com/roughcuts > > > > > > The current version includes virtually the entire book except (a) > > > overloaded operators, (b) qualifiers, (c

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

2009-12-10 Thread Sean Kelly
Álvaro Castro-Castilla Wrote: > Andrei Alexandrescu Wrote: > > > http://my.safaribooksonline.com/roughcuts > > > > The current version includes virtually the entire book except (a) > > overloaded operators, (b) qualifiers, (c) threads. In the meantime I > > have finished the new design and wro

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

2009-12-10 Thread Álvaro Castro-Castilla
Andrei Alexandrescu Wrote: > http://my.safaribooksonline.com/roughcuts > > The current version includes virtually the entire book except (a) > overloaded operators, (b) qualifiers, (c) threads. In the meantime I > have finished the new design and wrote the chapter on overloaded > operators. Th

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

2009-12-10 Thread bearophile
Andrei Alexandrescu: > The initial framework will emphasize de facto > isolation between threads and message passing. It will build on an > Erlang-inspired message passing design defined and implemented by Sean. Sounds good. When you have 30+ CPU cores you don't want shared memory, in those si

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

2009-12-10 Thread Andrei Alexandrescu
http://my.safaribooksonline.com/roughcuts The current version includes virtually the entire book except (a) overloaded operators, (b) qualifiers, (c) threads. In the meantime I have finished the new design and wrote the chapter on overloaded operators. The design got Walter's seal of approval