Folks,

As you know we released X10 2.3.1 last week.
We have now started working on our next release: X10 2.4.

For 2.4 we are planning a limited but significant revision of the core
standard library.
This is going to involve a series of disruptive changes to trunk.
So unless you are willing to follow the changes as they progress, we
encourage you to stick to the X10 2.3.1 release or release branch for a
little while.


---- 2.4 plan ----

For 2.4, we are going to split apart the x10.lang.Rail and x10.array.Array
types.

In 2.3.1, a Rail is just a special case of Array.
public type Rail[T] = Array
[T]{self.rank==1,self.zeroBased,self.rect,self.rail};

In 2.4, x10.lang.Rail is defined as a class distinct from x10.array.Array.
Rail[T] is no longer a subtype of Array[T].

Rail continues to be a generic, 0-based, rectangular, 1D, bound-checked,
continuous-memory array structure.
Rail indices and sizes have type Long instead of Int.
Large rails (size >= 2^31) will only be supported with the C++ backend.

As a consequence, the main method signature becomes: public def main
(args:Rail[String]):void
Array literals are replaced with Rail literals. E.g., "[1,2,3]" has type
"Rail[Int]{self.size==3L}" in X10 2.4.

Eventually x10.lang.Rail will replace x10.util.IndexedMemoryChunk as the
base of all variable-length data structures in X10.
We intend to deprecate IndexedMemoryChunk in 2.4.
Rail will support remote copies, remote updates, and teams following from
IndexedMemoryChunk in 2.3.1.
A novel x10.lang.Unsafe class will provide uninitialized Rails of any type.

Beyond rails and arrays, the 2.4 core standard library will de-emphasize
regions and distributions, preferring ranges and place groups to the
former.


Of course, we welcome early adopters and feedback.
But please keep in mind that much work needs to be done still on 2.4.
The current trunk is not representative of the final APIs or
implementations.

Olivier
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to