Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > The future agai...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 15 Topic 3968 of 4053
Post > Topic >>

The future again (was: SaeForth and Supercomputing)

by anton@[EMAIL PROTECTED] (Anton Ertl) Mar 26, 2008 at 03:22 PM

"Jeff M." <massung@[EMAIL PROTECTED]
> writes:
>> Yes, but the issue raised by Jeff M.'s post was whether there was
>> reason to be concerned that there was no Forth programming model that
>> would be workable for massively superparallel computing.

I believe that's more a matter of opportunity rather than a basic
problem.  I.e., one could add extensions appropriate for such systems
just as one they have been added to Fortran or C, it just has not been
done.  The reason is probably that most Forth programmers work at the
other end of the computing spectrum (from small embedded systems to
PCs).  And of course there's the usual feedback at work (there's no
Forth for supercomputers, so nobody programs supercomputers in Forth).

However, I don't think that this is a reason for concern, because
supercomputers are a pretty specialized niche, and excelling there
does not tend to help in other areas.

>Yes. And in small-scale parallel processing (but across multiple cores
>- not just threads).

Multi-cores, OTOH, are really the future for a large part of
computing, and we should be able to utilize them.

What do you mean with "not just threads"?  The typical way to utilize
m cores is to divide your program into n>=m threads.

>The Xbox 360 has 6 cores

3 cores, each SMT with two hardware threads.

> and the PS3 has a 2 core PPU

1 core, and AFAIK no SMT (i.e., 1 thread).

> and multiple SPU

The Cell model does not look like having a big future to me.  It comes
out of supercomputer thinking (give us fast, hard-to-program hardware,
and we will optimize our kernels for that, and a few years later we'll
rewrite everything for the next hardware).

However, because the SPUs have limited local memory (256K), Forth
would have an advantage there.  However, as mentioned, I think any
success on that model will be short-lived, because it cannot be
transferred to future hardware.

>I seriously cannot
>picture myself solving the kind of problems I'm solving daily (in
>regards to job scheduling, timing memory accesses, ...) in Forth just
>as I can't picture myself writing embedded code in Pascal. But,
>perhaps that's because I've just never tried.

Probably.

>I just wondered if there were attempts at making Forth work
>on more "modern" hardware: vector processors,

Very modern at over 30 years.  Marcel Hendrix' work on using BLAS and
other numerical libraries should help on vector processors (including
their modern offspring, the SIMD units of current general-purpose CPUs
(e.g., SSE2 etc.).

> IBM's new CELL,

As I mentioned, I don't think that Cell has a long-term future.

>accessing non-unified memory

What do you mean by that?  Distributed memory?  Or distributed shared
memory (often called NUMA for "non-uniform memory access", because
local memory access is cheaper than remote memory access)?

Distributed memory tends to be used in special-purpose computers (both
embedded and super), and is often replaced with (distributed) shared
memory as general-purpose computers expand their capabilities to
encompass the application (certainly in supercomputing, probably not
as much in ambedded systems).  Forth has been used in such systems
(e.g., the Riad airport system can be seen as a huge
distributed-memory system).

Shared-memory multi-processing is certainly a future trend, due to
multi-cores.  On larger (i.e., multiple CPU socket) machines, this is
(going to be) NUMA, but that's only a performance issue.  The first
issue we have to deal with is to have support for multi-threading,
adding support for NUMA optimizations comes later.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2008:
http://www.complang.tuwien.ac.at/anton/euroforth/ef08.html




 15 Posts in Topic:
The future of computing (is Forth left behind?)
"Jeff M." <m  2008-03-24 13:44:41 
Re: The future of computing (is Forth left behind?)
jacko <jackokring@[EMA  2008-03-24 14:46:25 
Re: The future of computing (is Forth left behind?)
Elizabeth D Rather <er  2008-03-24 18:24:12 
Re: The future of computing (is Forth left behind?)
Brad Eckert <nospaambr  2008-03-24 21:28:07 
Re: The future of computing (is Forth left behind?)
Bruce McFarling <agila  2008-03-25 08:40:46 
Re: The future of computing (is Forth left behind?)
anton@[EMAIL PROTECTED]   2008-03-25 15:43:03 
Re: The future of computing (is Forth left behind?)
Bruce McFarling <agila  2008-03-25 09:29:51 
SaeForth and Supercomputing (was: The future of computing)
anton@[EMAIL PROTECTED]   2008-03-25 17:09:56 
Re: The future of computing (is Forth left behind?)
Bernd Paysan <bernd.pa  2008-03-24 22:35:56 
Re: SaeForth and Supercomputing (was: The future of computing)
Bruce McFarling <agila  2008-03-25 11:33:52 
Re: SaeForth and Supercomputing (was: The future of computing)
"Jeff M." <m  2008-03-25 13:04:50 
The future again (was: SaeForth and Supercomputing)
anton@[EMAIL PROTECTED]   2008-03-26 15:22:36 
Re: The future again (was: SaeForth and Supercomputing)
"Paul E. Bennett&quo  2008-03-26 19:05:34 
Re: SaeForth and Supercomputing (was: The future of computing)
Bruce McFarling <agila  2008-03-26 12:42:19 
SeaForth and Supercomputing (was: SaeForth and Supercomputing)
forther <forther@[EMAI  2008-03-27 11:22:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 9:42:58 CDT 2008.