www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - cilk++ hyperobjects

reply "Bruce Adams" <tortoise_74 yeah.who.co.uk> writes:
Hi,
    As a result of a link posted here I dug around. Although their website  
is very
sparse on details cilk arts (http://www.cilk.com/) mention a concept they  
call
hyperobjects (a bad name because there are at least two other incompatible  
concepts with the same name).
Essentially the idea is that you can have multiple disjoint views of an  
object which can be altered
independently without contention and thus avoiding the need for locking.
For D this concept would apply particularly well to slices of builtin  
arrays.
Given  foo[4], you can safely allow independent updates to disjoint slices  
such as foo[0..2] & foo[3..4]
without locking. Definitely something to make use of when we start  
fiddling with parallel foreach type
constructs.

Regards,

Bruce.
Aug 27 2008
next sibling parent ilya <info cilk.com> writes:
We’ve added a bit more info on hyperobjects:
•	http://www.cilk.com/resources-for-multicoders/for-developers-only/
•	http://web.cilk.com/_packages/documentation/ (section on REDUCERS)
•	Some examples: http://www.cilk.com/resources-for-multicoders/for-developers-only/

cheers,
ilya
Nov 10 2008
prev sibling parent %u <info cilk.com> writes:
Hi Bruce,

Just noticed your post here.

We’ve added a bit more info on hyperobjects:
•	http://www.cilk.com/resources-for-multicoders/for-developers-only/
•	http://web.cilk.com/_packages/documentation/ (section on REDUCERS)
•	Some examples: http://www.cilk.com/resources-for-multicoders/for-developers-only/

Cheers,
ilya
Nov 10 2008