Re: [Factor-talk] Multithreading in Factor

2014-11-20 Thread Jon Harper
Just to confirm that the following sequence of actions work (ie print "hello" in the first factor instance) $ ./factor # first factor process USING: concurrency.distributed threads io.sockets io.servers ; "127.0.0.1" 9000 start-server FROM: concurrency.messaging => receive ; : log-message ( --

Re: [Factor-talk] Multithreading in Factor

2014-11-20 Thread John D. Mitchell
If you're talking about use in a single master process + multiple threads than check out the LMAX disruptor approach for inter-thread communication. Cheers, John On Oct 18, 2014, at 08:30 , Andrea Ferretti wrote: > Thank you for you response. Regarding the possibility if delegating > CPU inte

Re: [Factor-talk] Multithreading in Factor

2014-11-20 Thread John Benediktsson
I wrote a few posts about servers, here is one simple echo server example: http://re-factor.blogspot.com/2012/08/echo-server.html Also, this is a "telnet" server implemented fairly simply: https://github.com/mrjbq7/re-factor/blob/master/telnet-server/telnet-server.factor On Thu, Nov 20

Re: [Factor-talk] Multithreading in Factor

2014-11-20 Thread Chris Double
On Thu, Nov 20, 2014 at 8:24 AM, Andrea Ferretti wrote: > I am trying to make this work, but I have issues with the line > > "myhost.com" 9001 start-server Looks like the API for starting servers/nodes has changed quite a bit. If you look at the following file you'll see examples of current usage

Re: [Factor-talk] Factor 0.97 now available

2014-11-20 Thread Andrea Ferretti
Yes, the download from the website fails both on Ubuntu 14.04 and 14.10. 2014-11-20 17:22 GMT+01:00 John Benediktsson : > Did you try the download from the factorcode website? > > >> On Nov 20, 2014, at 7:43 AM, Andrea Ferretti >> wrote: >> >> Yeah, the version on github works on my Ubuntu 14.04

Re: [Factor-talk] Factor 0.97 now available

2014-11-20 Thread John Benediktsson
Did you try the download from the factorcode website? > On Nov 20, 2014, at 7:43 AM, Andrea Ferretti wrote: > > Yeah, the version on github works on my Ubuntu 14.04. It reports to be > > Factor 0.98 x86.64 (1539, heads/master-0-g46174ab, Thu Nov 20 16:35:41 2014) > > 2014-11-20 14:51 GMT+01:0

Re: [Factor-talk] Factor 0.97 now available

2014-11-20 Thread Andrea Ferretti
Yeah, the version on github works on my Ubuntu 14.04. It reports to be Factor 0.98 x86.64 (1539, heads/master-0-g46174ab, Thu Nov 20 16:35:41 2014) 2014-11-20 14:51 GMT+01:00 John Benediktsson : > I believe it it fixed in the development release (could you check?), but we > want to make sure bef

Re: [Factor-talk] Factor 0.97 now available

2014-11-20 Thread John Benediktsson
I believe it it fixed in the development release (could you check?), but we want to make sure before doing a small point release. Right now we are thinking of releasing master vs only backporting that patch. Master has some good changes but we have two small things to fix for linux32 and windo

Re: [Factor-talk] Factor 0.97 now available

2014-11-20 Thread Andrea Ferretti
I am sorry to be insistent, but are there any news on this? I am trying to show Factor to some colleagues, and it immediately looks bad, needing a workaround just after the download 2014-11-05 18:01 GMT+01:00 Björn Lindqvist : > Yeah that's probably needed. > > 2014-11-05 16:35 GMT+01:00 John Bene