GuiServer

Started by newdep, July 13, 2009, 08:06:09 AM

Previous topic - Next topic

newdep

Hi Lutz,



Is it easy to add IPC (named-Pipes) to the GS?



Im seeking for a faster transport between java and Newlisp on

local machines...





And Btw.. I see you did SWT javascript imports in the HTML5 widgets..

Is it possible to build a GS in Javascript that way..That would make

GS even more flexible.. I dont know about speed here though..



Norman.
-- (define? (Cornflakes))

Lutz

#1
QuoteIs it easy to add IPC (named-Pipes) to the GS?


I don't think Java supports named pipes. One could use normal pipes for newlisp<->java communications, as done already for the monitor window.



I recently tried to speed up communications by allowing to put more than one gs:xxxx into a transaction (similar to begin/end in OpenGL), but it turned out not to do much for speed (less than 10% on average).



The bottleneck is not the communications speed, but rather the multiprocessing timeslicing. In order for the other process to read the pipe or any other comm-connection (even shared memory), the scheduler has to switch to the other process.



Also in a different thread you asked about debian packaging for the N810 package. I use checkinstall to do this. Install the checkinstall-1.6.1 package (available for debian linux or compile yourself on the ARM) then go into the newlisp-x.x.x directory and do:



make dpkg_utf8



or



make dpkg



but at first look into Makefile and change the maintainer email address from my address to your address.