[aplusdev] adap (IPC) vs Python shm module

Brian Redman ber at ms.com
Fri Mar 30 22:44:19 EST 2001


Hello Alexei,

Depending on the shared memory interface on the OS you're
using you may be able to use the libc interfaces as is
without writing any code.  Just _dlyd libc and identify
your entry points.  Also there may be a file system
like interface such that you can "open" /dev/shmsomething.

The socket interface may be well be fast enough anyway.
Also you can dynamically load other compiled objects.  Are you
a fortran programmer? Pascal?  Ada?

Perhaps you can use memory mapped files to share data between
your processes?  Also there is the possibility to exec your
python from within aplus with sys.sfe{} and use standard i/o.

Can we log into your machine and hack?

	brian



More information about the apluslist mailing list