I am also interested in this area so please share what you end up doing. In terms of serialization/JSON, you may want to evaluate Pascal's JON format.
http://www.jsoftware.com/pipermail/programming/2014-February/035542.html And http://www.jsoftware.com/pipermail/programming/2014-February/035575.html On Jul 9, 2014 12:45 PM, "Steven Taylor" <[email protected]> wrote: > I think there's a case for both in-process (hooking into the j.dll) and > out-of-process (an IPC technique with TCP/IP / http being the simplest). > For the out-of-process direction, in time it'd be good to get that native > J structure translation happening in a simpler way either with either a > pinvoke / a .dll, or with a translation of the .dll portion to the CLR. > COM has to go. > > Whatever makes the most sense to people, bearing in mind that node.js got > quite a bit of traction with JSON. There's a case for that too. > > I remember a while back that someone on the list was experimenting with > pinvoke / C#. I didn't get involved in that discussion, but that work may > be relevant in the near future to this effort. > > It may be best to have the nitty-gritty other language conversations > through the GitHub repository conversation mechanism, and save high level > chats for here. Give me a week or so to get it up there though. > > I'd be interested to hear if just registering COM portion of j602 proves to > be a significant enough hurdle for other Win 7 / Win 8 users. COM isn't > supported any more by JSoftware, so we will have to have patience while the > kinks get ironed out. > > -Steven T. > > > On 9 July 2014 16:27, Jon Hough <[email protected]> wrote: > > > Thanks I'll have a look through that. My main motivation is to build an > > application that uses J as the backend and uses C#, or perhaps Python as > > the GUI frontend. > > Regards,Jon > > > > > Date: Wed, 9 Jul 2014 10:56:30 -0400 > > > From: [email protected] > > > To: [email protected] > > > Subject: Re: [Jprogramming] DLL Lab > > > > > > For calling a dll, see > > http://www.jsoftware.com/jwiki/JoeBogner/CallingDLL > > > for some examples > > > > > > For the other direction, you will need to have the external program > > invoke > > > the j.dll and evaluate the script. See > > > http://www.jsoftware.com/help/user/calling_jdll.htm > > > On Jul 9, 2014 4:55 AM, "Jon Hough" <[email protected]> wrote: > > > > > > > In J7/8 is it possible to build and use DLL files and call them from > > other > > > > programs (e.g. .NET programs etc)? > > > > I tried doing one of the DLL Labs in J7.01, and got blocked when the > > Lab > > > > tried to load a non-existent file: > > > > > > > > > > > > open '~system\examples\dllwrite\dlltest.cpp' > > > > > > > > Presumably this is left over from J6, and is not included in later > > > > versions? Regardless, the cpp file does not exist. > > > > > > > > Also, I tried looking through the JWiki guide for using DLLs, which > > also > > > > seems to be only usable in J6? > > > > > > > > In J7/8 how can I : > > > > > > > > (a) call dll from J script? > > > > > > > > (b) create a DLL file to be called by another program? > > > > > > > > > > > > Regards, > > > > Jon > > > > > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
