Greetings all,

I am currently researching solutions to a project that involves the collection of images from a MJPEG stream, their decompression to DIB, a series of semi-complex operations on the image bits, and finally their compression back to jpeg.
For performance reason, the decompression, manipulation and compression operations are performed via the IPP (Intel Performance Primitives) library. I have not been able to use the aforementioned library in perl and have therefore written that portion in C#.
Here comes the real question. While I have to perform the IPP related portion in c# (sort of) I would like not to abandon completely the perl portions written through the years. I am therefore seeking your wisdom about the best way to exchange data "efficiently" (read in memory) across different processes written in different languages.
Currently, because I am developing in Win32, I can write a dotNET wrapper to the Win32::MMF through the Activestate PerlNet or access the Memory mapped Files via P/Invoke in C#. Ideally I would like to find a solution to this communication problem not linked to a specific "product" (Perlnet) and possibly cross-platform (Mono and Perl).

Thank you in advance for your insights.

Yours truly,

Cpt. Skripto

In reply to Inter Process/Inter Language Communication by CptSkripto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.