Josh Milthorpe <josh.miltho...@anu.edu.au> wrote on 12/15/2009 09:41:15 
PM:

> Hi all,
> 
> I have array-structured data that is calculated in one place, which I 
> then want to make available to activities running at other places. 
> 
> The obvious way is to make the array the return value of a remote 
> expression.  This creates a remote reference to the array, but then 
> access to each individual element must also be done by a remote 
> expression, which is hardly efficient.  Importantly the array data is 
> calculated once and then never updated, so what is required is a final 
> read-only snapshot of the array.
> 
> AFAIK the only array-like class that can be transferred between places 
> is ValRail.  However this does not support arbitrary Regions as do 
arrays.
> 
> Is there an elegant way of transferring complete Array-like objects 
> between places?

Not at the moment, sorry.  However, the array library is due for a major
overhaul, and we have discussed immutable arrays in the past (in this
case, the distribution would probably be single-place).  I don't recall
off-hand if there's a JIRA for immutable arrays with global contents
that can be replicated across places, but if there isn't, please open
one.
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to