On Mon, Sep 27, 2004 at 01:27:07PM -0400, Noel Yap wrote:
I actually came up with a fairly exciting idea over the weekend. Here's
the basic idea.
Fork a perl script which opens a domain socket. Put the domain socket
in the build directory somewhere.
Write RPC style requests to the domain socket and have the perl script
feed back answers through the same channel.
This works with the text processing angle because gmake only cares about
text. It also works with the performance angle because you are only
forking once. From then on, you're basically just writing and reading a
file (the domain socket).
What do you think?