Re: event-based programming with a twist

2001-07-17 Thread pcg
on-topic-content: The first larger program using coroutines is now doing "mission critical" work (failure == loss of relatively unimportant data). It's my news-scanner which scans ~60 servers at the same time. It's just as fast (600k/s is where the network tops out), requires only slightly more m

Re: event-based programming with a twist

2001-07-16 Thread Uri Guttman
> "PCG" == <[EMAIL PROTECTED]> writes: PCG> On Mon, Jul 16, 2001 at 04:46:36AM -0700, Joshua Pritikin <[EMAIL PROTECTED]> wrote: PCG> Boy, I just learned more about perl internals than I ever imaged. The PCG> only thing remaining is the regex machine and the exact details of this

Re: event-based programming with a twist

2001-07-16 Thread pcg
On Mon, Jul 16, 2001 at 04:46:36AM -0700, Joshua Pritikin <[EMAIL PROTECTED]> wrote: > >I hope you found this posting somewhat entertaining... > > Wow! Outstanding! Boy, I just learned more about perl internals than I ever imaged. The only thing remaining is the regex machine and the exact det

Re: event-based programming with a twist

2001-07-16 Thread pcg
On Mon, Jul 16, 2001 at 04:46:36AM -0700, Joshua Pritikin <[EMAIL PROTECTED]> wrote: > >I hope you found this posting somewhat entertaining... > > Wow! Outstanding! it does not work (as i just found out), however, as perl doesn't like the same sub to be entered from two different coroutines at

Re: event-based programming with a twist

2001-07-16 Thread Joshua Pritikin
<[EMAIL PROTECTED] ( Marc) (A.) (Lehmann )> wrote: >it is difficult to get the point across using a small program - the idea >is to linearize programs, while still using the benefits of a state >machine. > > ...snip... > > but given that I thought this to be much too complicated for many