[aplusdev] adap (IPC) vs Python shm module

Alexei Zalivine zalivin at krona.obninsk.ru
Sun Apr 1 00:14:27 EST 2001


Hello Brian
>
> 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.
I'm M$ programmer, this is my first program on *nix OS. But it is very
difficult application. Each 0.5 sec program must get data from two gauges,
apply methods and algorithms, store to data base, make a decision, send
message to operator and...
So, I'm not C(C++) programmer, and I can't write cover functions for SHM
functions. I try to find prepared decision.
>
> 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?
I'm APL programmer for Windows (APL Dyalog/W, http://www.dyadic.com).
>
> 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.
Hardly. I must build very fast application. The best solution - write cover
function for SHM protocol. I solved use Python for other stuff. However, I
will be very glad use A+, because I building mathematic module.
>
> Can we log into your machine and hack?
:-)
>
Thank you,
Alexei.




More information about the apluslist mailing list