Does Java have support for multicore processors/parallel processing?

前端 未结 5 1770
生来不讨喜
生来不讨喜 2020-11-29 19:10

I know that now that most processors have two or more cores, multicore programming is all the rage. Is there functionality to utilize this in Java? I know that Java has a Th

5条回答
  •  Happy的楠姐
    2020-11-29 19:37

    You'll find new functionality in Ateji PX, an extension of the Java language with parallel primitives inspired from pi-calculus. Quite different from thread programming and everything thread-based (Tasks, Executors, etc).

    Parallelism introduced this way at the language level, as opposed to threading librairies that provide API access to a mostly hardware-level concept, makes multicore programming much simpler and intuitive.

    It's a radically new approach to parallel programming worth reading about (disclaimer: I am the designer of Ateji PX). The whitepaper is here : http://www.ateji.com/px/whitepapers/Ateji%20PX%20for%20Java%20v1.0.pdf.

提交回复
热议问题