Re:Cohabitation with Python and C++
by swah on Thursday November 24, 2011 @04:20PM
(#3275442)
When you say HTTP API, does that mean you had C++ http server, C++ http client, Python http server and Python http client?
[ Parent
| on HN ]
Good question: In this case C++ was the server, and Python (via urllib2) was the client.
Out of curiosity, why didn't you fork and use a pipe?
We're running on Windows, and fork isn't available there. Also, in this case AFAIK fork doesn't really apply, as we wanted to start the C++ and Python servers completely separately.