3 ms·
a wire protocol for named context patches: you'd do better not writing your own wire serialization format, and instead adopting an existing transport: websocket
by rektide 14y ago
a wire protocol for named context patches: you'd do better not writing your own wire serialization format, and instead adopting an existing transport: websockets, stomp, and MQTT all strike me as sufficiently stupid simple & end to end enough, or anything from thrift to zmq to flume for transport would be slightly more inter-linkable than your "length/json-payload" ad-hocracy.
it's JS but you might enjoy node-webworker, which uses websockets to implement inter-Node.js message passing: your specific case is debugger being an outbound messaging port, emitting context programmatically.
- philh 14y agoI did find myself thinking "this has to be a solved problem" as I was writing the socket code. Thanks, I'll look into those.