Prev: regsub (and regular expressions in general) trouble.
Next: How to call a tcl script (proc) from a vb.net.
From: Donal K. Fellows on 29 Dec 2009 16:58 On 29/12/2009 20:52, tom.rmadilo wrote: > Very nice, but not magic. Of course. "There is no magic." (Or is it just that we're the conjurers?) Donal.
From: Uwe Klein on 30 Dec 2009 05:35 Donal K. Fellows wrote: > On 29/12/2009 20:52, tom.rmadilo wrote: > >> Very nice, but not magic. > > > Of course. "There is no magic." (Or is it just that we're the conjurers?) Clarke: any sufficiently advanced tech is indistinguishable from magic. uwe
From: Andreas Kupries on 16 Jan 2010 12:26 "Donal K. Fellows" <donal.k.fellows(a)manchester.ac.uk> writes: > On 22/12/2009 19:50, tom.rmadilo wrote: >> Green threads seem to be the product of hostility to an existing >> solution and defects in the execution model of the language. > > They're specifically introduced when the language is poor at presenting > non-blocking I/O to the user-level code. With Tcl 8.6, you can have > almost the same effect by using something like Coronet > <URL:http://wiki.tcl.tk/22231> to look after the asynchrony for you. > It's not a complete lib yet, but it points to how you can do amazing > stuff nowadays in scripts. Which is very cool. :-) coronet is also part of Tcllib (v 1.12+), and available through the TEApot. % teacup list coro entity name version platform ------- --------------- ------- -------- package coroutine 1 tcl package coroutine::auto 1 tcl ------- --------------- ------- -------- 2 entities found Note: This requires Tcl 8.6+. > You need native threads (or multiple processors) to use a multi-core > system properly. There's no way to poodle-fake that. > > Donal. -- So long, Andreas Kupries <akupries(a)shaw.ca> <http://www.purl.org/NET/akupries/> Developer @ <http://www.activestate.com/> -------------------------------------------------------------------------------
First
|
Prev
|
Pages: 1 2 3 4 5 Prev: regsub (and regular expressions in general) trouble. Next: How to call a tcl script (proc) from a vb.net. |