Ateji PX Samples
Ateji PX contains multiple samples illustrating the different constructs of the language and the supported parallel patterns:
The following sections contain some code snippets extracted from the samples. They illustrate multiple language constructs that can be combined to implement all parallel patterns.
The classic Hello World example:
At execution, this program will either print
Sine (data-flow programming)
This sample illustrates the data-flow programming model using Ateji PX synchronous channels.
This sample illustrates how some computations can be speculated: multiple computations are started in parallel and the first branch to complete terminates the enclosing parallel block.
A bang operator (line 13) is a construct allowing to dynamically create new branches in response to a message reception.
Ateji PX supports built-in comprehensions that can be used both sequentially (lines 3, 9, 15, 21, 27, 33) and in parallel (lines 5, 11, 17, 23, 29).
We just completed an evaluation of Ateji's product, and it does everything it promises… this is a very smart idea
Ateji PX allows quicker and easier Java parallel programming without several of the pain-points of multithreading coming in the way
Ateji PX is a dream for Java™ developers, enabling all kinds of applications to take better advantage of NVIDIA’s multicore processors.
Thank you for this brilliant piece of engineering