On Fri, 2006-08-25 at 21:09 +0200, SF Markus Elfring wrote:

> Can the software "Automatic Parallelization Environment for Network of 
> Workstations" help here to achieve useful concurrency and efficiency?
> http://www.cs.wayne.edu/~haj/html/ape4now.html

Well, it isn't clear how that can help us, except possibly as a source
of ideas. It seems mainly for running clusters of workstations 
communicating with MPI (message passing interface).

An MPI binding for Felix is certainly worth writing.. but hard
to test with only two computers :)

> How do you think about to cooperate with distributed and shared memory code?
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2044.html

No doubt, we'll have some shared memory/process level/distributed/
cluster computing stuff at some stage, but we're mainly playing with
threads at the moment.

One pre-requisite is serialisation (marshalling) of data.

On related note: mmap like stuff is very useful.
There is already a mmap module.

However Posix mmap seems quite lame, because it doesn't
provide the most useful mapping attribute: ANONYMOUS.
Linux has that, and its basically the most important one!

ANONYMOUS doesn't require a file to back the store, it just
assigns pages mapped onto virtual memory. An ANONYMOUS map
allows one to create address space, and have the pages
mapped in by the OS as required. In other words, it's 
an address space allocator, much like malloc() EXCEPT
malloc is required to actually map memory: if malloc
returns, access to the memory cannot fail.

SO malloc wastes memory, in situations where you want,
for example, to reserve address space for an extensible
array, but don't want to waste memory: for such an
array you want it to allocate memory as required,
but agree than you can run out of memory when this happens.
Hmm .. 


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to