Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
X10 (programming language)
Programming language, part of the Productive, Easy-to-use, Reliable Computing System (PERCS) project

X10 is a programming language being developed by IBM at the Thomas J. Watson Research Center as part of the Productive, Easy-to-use, Reliable Computing System (PERCS) project funded by DARPA's High Productivity Computing Systems (HPCS) program.

We don't have any images related to X10 (programming language) yet.
We don't have any YouTube videos related to X10 (programming language) yet.
We don't have any PDF documents related to X10 (programming language) yet.
We don't have any Books related to X10 (programming language) yet.
We don't have any archived web articles related to X10 (programming language) yet.

History

Its primary authors are Kemal Ebcioğlu, Saravanan Arumugam (Aswath), Vijay Saraswat, and Vivek Sarkar.1

X10 is designed specifically for parallel computing using the partitioned global address space (PGAS) model. A computation is divided among a set of places, each of which holds some data and hosts one or more activities that operate on those data. It has a constrained type system for object-oriented programming, a form of dependent types. Other features include user-defined primitive struct types; globally distributed arrays, and structured and unstructured parallelism.2

X10 uses the concept of parent and child relationships for activities to prevent the lock stalemate that can occur when two or more processes wait for each other to finish before they can complete. An activity may spawn one or more child activities, which may themselves have children. Children cannot wait for a parent to finish, but a parent can wait for a child using the finish command.3

Example code

Hello, World!

/** Example file for the X10 programming language (http://x10-lang.org). */ class Example { public static def main(Rail[String]) { Console.OUT.println("Hello, World!"); // say hello. } }

4

See also

References

  1. Ebcioğlu, Kemal; Saraswat, Vijay; Sarkar, Vivek. "X10: Programming for Hierarchical Parallelism and NonUniform Data Access". CiteSeerX 10.1.1.135.9826. /wiki/CiteSeerX_(identifier)

  2. Saraswat, Vijay; Bloom, Bard; Peshansky, Igor; Tardieu, Olivier; Grove, David (January 4, 2019). "X10 Language Specification Version 2.6.2" (PDF). http://x10.sourceforge.net/documentation/languagespec/x10-latest.pdf

  3. Biever, C. "Computer revolution poses problems for programmers". New Scientist. 193 (2594).

  4. pygments/tests/examplefiles/x10/example.x10 on GitHub https://github.com/pygments/pygments/blob/master/tests/examplefiles/x10/example.x10