Hi all, I'm forcing myself to write all my one-off scripts in Io to help me learn the language (stuff I'd normally use Python for). Anyway, I needed to parse a...
... The mail I received contained nicely formatted code so the problem must be the way you are receiving/reading the message. Ciao, Marc 'BlackJack' Rintsch --...
... Well, that's a relief. I hate asking people to read badly formatted code (the quality of the code itself is another matter ;-) I've switched my Yahoo...
... If the file isn't too long, this might work: Regex re := "(\\d\\d\\d)-(\\d\\d\\d)-(\\d\\d\\d\\d).*" asRegex dotAll File with("list.txt") readLines...
Hi, After studying Jer's example C and Lisp DSLs ( http://blurgle.blogspot.com/search/label/DSL ), I made an attempt to implement a DSL based on Breve (...
... Tag clone do ( Bah, clearly I was using the same object for every request so they were accumulating on the object's internal stacks with every request. ...
... This didn't fix it: Request 1 outputs: hello, world this is a test Request 2 outputs: hello, world this is a test hello, world this is a test Request 3...
... The code's a bit noisier, but getting rid of interpolate and a couple of joins put me from 114req/s to 127req/s, so that's fairly significant. ... As far...
For the record, this is what I've ended up with: http://pentropy.twisty-industries.com/serving-simple-dynamic-content-with-io The performance has improved...
Io's concurrency model is pretty nice, but coroutines seem to be inherently limited to execution on a single core (and my recent benchmarking seemed to confirm...
... Design your application in a way that it can be split over multiple processes. That way you could start as many 'worker' processes as you have cores. Think...
Milos Negovanovic
milos.negovanovic@...
Oct 9, 2008 10:09 am
10972
... I had the impression that coroutines were asynchronous and that this was automatic. What special magic is required to allow the 'worker' processes to...
Guy Hulbert
gwhulbert@...
Oct 9, 2008 10:13 am
10973
I'm getting the following error when trying to build on cygwin. Command: SYS=CYGW make vm Error: cc -DINSTALL_PREFIX=\"/usr/local\" -O3 -g -Wstrict-prototypes...
... Yes, coroutines are async, but they are implemented in the VM and do not map to os threads, therefor can't make use of multicore systems. -- My place to...
The suggested way to compile Io on windows is to use the cygwin environment with the MSVS compiler. Just make sure you have your LIB and INCLUDE env variables...
... Is mapping to O/S threads feasible or planned ? -- --gh...
Guy Hulbert
gwhulbert@...
Oct 9, 2008 5:30 pm
10978
... I know. I just had the impression that it was not necessary. It would be nice if the whole problem of multiple cores or even running across multiple nodes...
Guy Hulbert
gwhulbert@...
Oct 9, 2008 5:36 pm
10979
... There exists voluminous evidence in strong opposition to shared-memory concurrent development models. A growing body of documentation continues to promise...
On Thu, 2008-09-10 at 10:44 -0700, Samuel A. Falvo II wrote: Thanks for the advice. ... I had the impression that this was already done, that's all. ... One...
Guy Hulbert
gwhulbert@...
Oct 9, 2008 6:01 pm
10981
... Understood, but it bears re-iterating for the benefit of others. ... Hmm...maybe what I wrote was not taken as I'd intended. If not, I apologize for my...