Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

X10 (programming language)

From Wikipedia, the free encyclopedia
Programming language by IBM
X10
ParadigmObject-oriented
Designed byKemal Ebcioğlu, Saravanan Arumugam, Vijay Saraswat, and Vivek Sarkar
DeveloperIBM
First appeared2004; 21 years ago (2004)
Stable release
2.6.2 / January 8, 2019; 6 years ago (2019-01-08)
Typing disciplineStatic,strong,safe, constrained
OSIBM AIX,Linux,Mac OS X,Windows
LicenseEclipse Public License 1.0
Filename extensions.x10
Websitex10-lang.org
Influenced by
C++,Java

X10 is aprogramming language being developed byIBM at theThomas J. Watson Research Center as part of the Productive, Easy-to-use, Reliable Computing System (PERCS) project funded byDARPA'sHigh Productivity Computing Systems (HPCS) program.

History

[edit]

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

X10 is designed specifically forparallel computing using thepartitioned global address space (PGAS) model.A computation is divided among a set ofplaces, each of which holds some data and hosts one or moreactivities that operate on those data. It has a constrained type system for object-oriented programming, a form ofdependent types. Other features include user-defined primitivestruct types; globally distributedarrays, 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 thefinish command.[3]

Example code

[edit]

Hello, World!

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

[4]

See also

[edit]

References

[edit]
  1. ^Ebcioğlu, Kemal; Saraswat, Vijay; Sarkar, Vivek. "X10: Programming for Hierarchical Parallelism and NonUniform Data Access".CiteSeerX 10.1.1.135.9826.
  2. ^Saraswat, Vijay; Bloom, Bard; Peshansky, Igor; Tardieu, Olivier; Grove, David (January 4, 2019)."X10 Language Specification Version 2.6.2"(PDF). Archived fromthe original(PDF) on May 2, 2024. RetrievedAugust 11, 2025.
  3. ^Biever, C. "Computer revolution poses problems for programmers".New Scientist.193 (2594).
  4. ^pygments/tests/examplefiles/x10/example.x10 onGitHub

External links

[edit]
Software
Programming languages
Frameworks and
development tools
Operating systems
Licenses
Related
Free
Discontinued
Proprietary


Stub icon

Thisprogramming-language-related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=X10_(programming_language)&oldid=1313123547"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp