title: Pipelining or Otherwise Transferring Data Between Languages in Realtime
body: <p>I'm working on a project, which I am not at liberty to discuss the core, but I have reached a stumbling block.  I need data to be transferred from C++ to some other language, preferably Java or Python, in realtime (~10ms latency).</p>
  
  <p>We have a sensor that <strong>HAS</strong> to be parsed in C++.  We are planning on doing a data read/output through bluetooth, most likely Java or C# (I don't quite know C#, but it seems similar to Java).  C++ will not fit the bill, since I do not feel advanced enough to use it for what we need.  The sensor parsing is already finished.  The data transferring will be happening on the same machine.</p>
  
  <p>Here are the methods I've pondered:</p>
  
  <ul>
  <li>We tried using MatLab with whatever the Mex stuff is (I don't do MatLab) to access functions from our C++ program, to retrieve the data as an array.  Matlab will be too slow (we read somewhere that the TX/RX will be limited to 1-20 Hz.)</li>
  <li>Writing the data to a text, or other equivalent raw data, file constantly, and opening it with the other language as necessary.</li>
  </ul>
  
  <p>I attempted to look this up, but nothing of use showed in the results.</p>