You mean something like SRM:
http://www.vl-srm.net/Though a bit more finished :-)
Derick is probably too busy to finish SRM all alone, and my C skills are
way too bad to help him :) So this gets off-topic here, but what about
writing something like SRM in PHP itself to avoid the need of porting
the part written in C :)?
I asked Derick about this at the PHP Conference and IIRC, he said that
"Hive" from the Zend Coding Contest tried to do so?
The "server" itself would run using php-cli and listen on a socket. Let
alone performance and multithreading/-processing (PCNTL?), one could try
to do the RPC/RMI part by having "proxy" objects that perform
(un)marshaling. The overload language features could be used to make
these proxies "feel" like the remote ones. Passing objects to/from the
server could work by (un)serializing the objects, though the current
implementation lacks support for re-establishing object identity (hint,
hint ;).
Volunteers :)?
Matthias