You are lucky that you hate windoom sometimes, I hate it all the time :D Yes as I said I am very happy so far with StreamSockets and I have found ways to minimise the socket communications so that the user don't experience any noticeable lag so I don't currently need either 0mq or nanomsg. So its unlikely that I will be wrapping nanomsg any time soon since my hands are already full with bringing Blender features to Pharo.
I have done some very basic benchmarks with StreamSocket and it gives me around 1ms from the messages I am sending which is usually just small bytestring of one line of python code. It will be rare to want to send more than 100 messages in under a second since it would be better in that case if the code is that big to write a python module from pharo and load it to python. So speed for now does not seem an issue for me. Even if I notice delays my second option will be websockets. And if that is not good enough I could venture in the real of shared memory but I rather not. There are many things one wishes and wants to do, but in the end time is very limited. I also love to keep things easy and simple because I know how easy it is to underestimate the difficulty of things to do. Right now I ask myself what is the very easy things I can do with Pharo that can be practically useful for me. So far python and pharo sockets have been very easy and I am very happy with them. Its a lot of fun to manipulate external applications from pharo. On Sat, Oct 11, 2014 at 12:40 PM, Alain Rastoul <alf.mmm....@gmail.com> wrote: > Hi Kilon, > > I wanted to make some experiments with Nanomsg this morning, but had > some problems to build the libraries (they is no prebuilt binaries for > windows): > I discovered that the system path of my os > has been scratched by some recent mercurial installation, > the user path scratched by delphi and bonus, my mingw/cygwin install seems > to be sick too. > sometimes I hate windows :( - or is this a sign ? > > btw, my feeling about nanomsg is that it is still in beta, and 0mq much > more advanced > (they say some users includes AT&T, Cisco, EA, Los Alamos Labs, NASA, Weta > Digital, Zynga, > Spotify, Samsung Electronics, Microsoft, and CERN - not too bad). > The material about it (docs, presentations) sounds good too. > Not saying that nanomsg is not good, may be it will be the best in few > years, but at that > time I have a small preference in favour of 0mq. > > This part is not essential for me right now (the same as you if I > understand) > and I have lot of other things to finish, so I will delay it for some time, > but I am still interested in your experiments too : bindings, benchs, > findings. > > > Regards, > > Alain > > Le 10/10/2014 20:12, kilon alios a écrit : > > I am interested too, my project depends on streamsocket to send python >> commands from pharo to blender . So far I have not stressed it too much >> and it looks like it works fast enough. Maybe something like websockets >> or nanomsg is better for me in the long run so I too keep an eye on >> these solutions. Time will tell. >> >> > > > >