Thanks Eric, I was thinking the same thing. I will probably go with the sockets connection as it allows greater flexibility down the road. Using mapped files is almost certainly the fastest way to slosh large binaries on the same machine.
I just hit your donation button with a little something for Jsoftware. Merry Christmas. I suggest all hardcore J fans hit the donate button. Let's make it a Christmas tradition. John Baker On Sat, Dec 18, 2010 at 10:02 AM, Eric Iverson <[email protected]>wrote: > Assuming your 2 processes are in the same address space you have a few > choices. You could memory map a file in both processes. Or you could > read/write files. If your processes are on different machines then you > probably want a simple socket connection between the tasks for moving data. > No rocket science and really no different than what COM did, but without > the > layer upon layer of complexity. > > On Fri, Dec 17, 2010 at 1:01 PM, John Baker <[email protected]> wrote: > > > Though I am happy to see COM's backside it was the most useful and stable > > J/Win interprocess protocol on Windows. I gave up using the dll server > > years ago as I like my processes separate and protected. This is one of > > the > > great things about JHS. > > > > The current JHS setup looks great for passing text data around but what > > about large binaries. How do you pass a 10e6 element array from a C# > > program to J and get a large array response. The old COM interface > > provided > > this functionality, > > > > On Thu, Dec 16, 2010 at 6:08 PM, bill lam <[email protected]> wrote: > > > > > FWIW examples for interface to .net in jwiki depend on the lagacy > > > technology. > > > > > > Чтв, 16 Дек 2010, Steven Taylor писал(а): > > > > Hi, > > > > > > > > I know this is probably legacy technology as far as you guys are > > > > concerned... I was wondering if there were any plans to update the > COM > > > > interface currently available in j602 j.dll? > > > > > > > > I know it's there in j7. I'm running the 64 bit j602 client, but I > > can't > > > > talk to it over 64 bit COM. I haven't done any serious tests with it > > yet > > > > though... perhaps it's there already. > > > > > > > > Yes COM is long-in-the-tooth, but it's quite convenient for some > > things. > > > > > > > > btw: thanks for the hard work. > > > > > > > > cheers, > > > > -Steven > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > -- > > > regards, > > > ==================================================== > > > GPG key 1024D/4434BAB3 2008-08-24 > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > > > > > -- > > John D. Baker > > [email protected] > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
