I could use "bundled" code to do the following: 1/ direct interface to mkstemp so that we don't have to use the atrocious File::Temp big monstrosity. 2/ file descriptor passing over sockets means redoing the stuff described in socket/recv/CMSG_DATA so that we could have a simple interface to grab stuff in perl.
looking for prior art/someone with the time to do it as XS... 2/ would be useful for libtool: on slow machines, libtool startup time is large, so it would be beneficial to start a libtool "server" at start of build, and communicate with it using a (very small) c client. Passing stdout/stderr/cwd to the server over the socket seems like the most straightforward way to do stuff, especially since we wouldn't have to deal with any kind of non-transparent buffering then...
