Re: RFCs for thread models

2000-09-10 Thread Dan Sugalski
At 10:26 PM 9/9/00 -0400, Steven W McDougall wrote: RFC 178 proposes a shared data model for Perl6 threads. In a shared data model - globals are shared unless localized - file-scoped lexicals are shared unless the thread recompiles the file - block scoped lexicals may be shared by - passing

Re: A tentative list of vtable functions

2000-09-10 Thread Dan Sugalski
At 07:58 PM 9/9/00 +, Nick Ing-Simmons wrote: Ken Fox [EMAIL PROTECTED] writes: Short circuiting should not be customizable by each type for example. We are already having that argument^Wdiscussion elsewhere ;-) But I agree variable vtables are not the place for that. As do I, up to a

Re: RFC 178 (v2) Lightweight Threads

2000-09-10 Thread Dan Sugalski
At 09:43 PM 9/9/00 -0400, Chaim Frenkel wrote: "DS" == Dan Sugalski [EMAIL PROTECTED] writes: DS Right, but databases are all dealing with mainly disk access. A 1ms lock DS operation's no big deal when it takes 100ms to fetch the data being locked. DS A 1ms lock operation *is* a big deal when

Re: RFC 178 (v2) Lightweight Threads

2000-09-10 Thread Alan Burlison
Chaim Frenkel wrote: Please elaborate. How deep do you go? $h{a}{b}{c}{d}{e}{f} This is my last mail on this subject - it is a half-assed idea, and this whole thread is becoming too tedious for words. Actually, I'd extend that to the whole p6 process. In fact I think I'll just unsubscribe.

Re: RFCs for thread models

2000-09-10 Thread Benjamin Stuhl
--- Chaim Frenkel [EMAIL PROTECTED] wrote: "SWM" == Steven W McDougall [EMAIL PROTECTED] writes: SWM If you actually compile a Perl program, like SWM $a = $b SWM and then look at the op tree, you won't find the symbol "$b", or "b" SWM anywhere in it. The fetch() op does not

Re: RFC 127 (v1) Sane resolution to large function returns

2000-09-10 Thread Glenn Linderman
Chaim Frenkel wrote: "GL" == Glenn Linderman [EMAIL PROTECTED] writes: GL Chaim Frenkel wrote: ($foo, $baz, @bar) = (1,(2,3),4) # $foo = 1 $baz=2, @bar=(3,4) Actually, looking at it like that makes it an ugly situation. The 'new' expectation would be to have it become # $foo=1