title: Is there a high-level inter-process communications API that is implemented in both C++ and Javascript
body: <p>I am working on app where I need to pass messages between a C++ application and a Javascript web app.</p>
  
  <p>Certainly I could write sockets code myself in either language and I have done this in the past when necessary.</p>
  
  <p>What I would really like is a higher-level message posting or message queueing API that does a lot of the work for me.  Does anyone know of such an API?</p>
  
  <p>I have looked at ICE, and it doesn't appear to have Javascript bindings.  I have also looked at Boost message queue, but it only caters for the C++ side of things.  If necessary I might roll my own Javascript bindings for either of these technologies.</p>
  
  <p>UPDATE: Sorry should have mentioned this before, I want to run this in a browser.</p>
  
  <p>To give a more complete story what I want is a simple browser-based app that is used to configure and display logging for a C++ application.  </p>
  
  <p>I know there are other ways of doing this, but I am specifically interested in a high-level library in both C++ and browser-based Javascript that builds a message queue ontop of the sockets API (if there isn't one then I might consider implementing it myself and writing up a code project article).</p>
  
  <p>ALSO: I'm not bothered about portability in terms of the web browser.  Eg if there is a high-level IPC Javascript library that only works in Chrome, I'll be happy with that.</p>