2007/2/7, Roelof K. Brouwer <[EMAIL PROTECTED]>:
I would like to know if multiple threads is incorporated in the
implementation of J. ( this may be a stupid question).
Can J benefit from multiple processors? Is there is change on the way so
that J can benefit from dual processors?
[snip]
Currently, no.
J's array-oriented and function-level(along with functional)
characteristics is an excellent fit for concurrency.
Thesedays concurrency oriented programming is getting more and more
highlights. Two models are promising in the area: Software
Transactional Memory(have a look at Haskell implementation) and
Erlang-style(message passing).
There are two promising parallel programming languages, under
development, for scientific and engineering research which does
parallel computing by default.
Fortress, which was already mentioned in this thread, is by default
parallel. If you want a sequential behaviour you need to "tag" it.
Have a look at Parallelism in Fortress(at
http://research.sun.com/projects/plrg/PGAS.pdf) for example. Fortress
uses STM.
Fortress is from Sun, and there is a big competitor to it, of which
approach is quite different. It's IBM's X10. Have a look at X10 -- a
New Programming Model for Productive Scalable Parallel Programming(at
http://crd.lbl.gov/~oliker/pmua/IBM-X10-Sarkar.pdf) for example.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm