Ateji PX

Ateji PX


Ateji PX est une extension du langage Java facilitant la programmation parallèle sur des architectures hétérogènes (processeurs multi-cœurs, GPUs, clusters).

Ateji PX peut être intégré avec l'environnement de développement Eclipse.

Exemple de code

Hello World

Voici une version concurrente du classique exemple du Hello World où chaque symbole || introduit une branche d'exécution parallèle :

public class HelloWorld {
  public static void main(String[] args) {
    [
      || System.out.println("Hello");
      || System.out.println("World");
    ]
  }
}


Ainsi, la seconde directive println est exécutable de manière indépendante à la première. Mais comme l'illustrent les deux traces d'exécutions suivante, ce programme est indéterministe. Le résultat obtenu ne sera que le reflet, dans un contexte donné, de la politique de l'ordonnanceur et de ses choix.

Hello
World
World
Hello


Liens externes


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Ateji PX de Wikipédia en français (auteurs)

Игры ⚽ Нужно решить контрольную?

Regardez d'autres dictionnaires:

  • Ateji — (当て字) sind chinesische Schriftzeichen bzw. Kanji, die in der japanischen Sprache ohne Rücksicht auf ihre reguläre Bedeutung oder Lesung gebraucht werden. Das Gegenstück zu den Ateji, also besonderen Schreibungen für bestimmte Wörter, ist die… …   Deutsch Wikipedia

  • Ateji — In modern Japanese, nihongo| ateji |当て字 or 宛字 or あてじ are kanji used phonetically to represent native or borrowed words. This is analogous to man yōgana in pre modern Japanese. For example, sushi is often written with the ateji 寿司. The character 寿 …   Wikipedia

  • Ateji — Un ateji (当て字, ateji?) est une expression composée de plusieurs kanjis, utilisés phonétiquement comme des syllabaires, sans prêter une attention très rigoureuse au sens de ces kanjis, par exemple dans le mot kurabu ( …   Wikipédia en Français

  • ateji — noun The use of kanji chosen primarily for their phonetic value to represent foreign or native Japanese words, or the kanji so used …   Wiktionary

  • atėjimas — atėjìmas sm. (2); R24 → ateiti: 1. Kas iš atėjìmo, kad neilgai buvo Ėr. Po ano atėjìmo prapuolė kirvis Vvr. Dar prieš mūs atejimą atsisėdo an lovos ir pasakojo apie save Lp. | Tas atėjìmas (žygis) – viską reikia sutvarkyt Rm. Ma[n] gaila tavo …   Dictionary of the Lithuanian Language

  • atėjimas — atėji̇̀mas dkt. Sunkùs bùvo tàs atėji̇̀mas …   Bendrinės lietuvių kalbos žodyno antraštynas

  • Kandschi — Kanji Schrifttyp Logographisch Sprachen Japanisch Verwendungszeit seit ca. 500 n. Chr Offiziell in Japan Abstammung Chinesische Schriftzeichen …   Deutsch Wikipedia

  • Kanji — Kanji. Los kanji (漢字, kanji?, literalmente «carácter …   Wikipedia Español

  • Kanji Kentei — Der Kanji Kentei (漢字検定, manchmal als Kanken abgekürzt), ist ein Test, um die Kanji Fähigkeiten zu prüfen. Der komplette japanische Name (Nihon kanji nōryoku kentei shiken 日本漢字能力検定試験) bedeutet „Japanischer Kanji Kompetenz Test“. Für… …   Deutsch Wikipedia

  • Kanken — Der Kanji Kentei (漢字検定, manchmal als Kanken abgekürzt), ist ein Test, um die Kanji Fähigkeiten zu prüfen. Der komplette japanische Name (Nihon kanji nōryoku kentei shiken 日本漢字能力検定試験) bedeutet „Japanischer Kanji Kompetenz Test“. Für… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”