new event loop

2001-07-03 Thread Uri Guttman
i am going to make a proposal that we ('we' to be defined later) develop a new common event loop with two major goals in mind: 1. the event loop should be fully portable over all modern unix OS's and the win32 server flavors (nt, 2k). 2. be a test bed for perl6 language level event API

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread Piers Cawley
Piers Cawley <[EMAIL PROTECTED]> writes: > Michael G Schwern <[EMAIL PROTECTED]> writes: > > > On Mon, Jul 02, 2001 at 04:18:31PM -0400, Michael G Schwern wrote: > > > On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote: > > > > Its not quite the same thing, but Java does have the concep

Re: Anyone actually experienced with object inheritance?

2001-07-03 Thread Michael G Schwern
On Tue, Jul 03, 2001 at 12:10:19AM +0200, Bart Schuller wrote: > The Apple Newton was programmed in NewtonScript, a prototype-based > language. http://www.cc.gatech.edu/~schoedl/projects/NewtonScript/ seems > like a nice overview. Ahh, its derived from Self. -- Michael G. Schwern <[EMAIL PR

Good example of object inheritance's usefulness

2001-07-03 Thread Michael G Schwern
Ziggy came up with a good example of when object inheritance makes life easier. Basically, there are times when you'd want to override individual methods of individual objects. Example below. - Forwarded message from Michael G Schwern <[EMAIL PROTECTED]> - From: Michael G Schwern <[EM

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread Piers Cawley
Michael G Schwern <[EMAIL PROTECTED]> writes: > On Tue, Jul 03, 2001 at 08:34:00AM +0100, Piers Cawley wrote: > > my $anon = My::Anon::ObjectFactory->new({base => 'Class', > > method1 => sub { ... }, > >

Re: PDD 4, version 1.2.

2001-07-03 Thread Dan Sugalski
At 03:18 PM 7/3/2001 +0100, Graham Barr wrote: >On Tue, Jul 03, 2001 at 10:15:02AM -0400, Uri Guttman wrote: > > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > > > DS> We're going to use a copying collector. When the string gets > > DS> copied as part of a compaction run things'll

RE: PDD 4, version 1.2.

2001-07-03 Thread NeonEdge
Here's a reference to the Bartlett 'mostly-copying' GC collector. ftp://gatekeeper.dec.com/pub/DEC/WRL/research-reports/WRL-TR-88.2.pdf Hans Boehm also has a decent GC reference page with links to Bartlett's, but his GC is mark/sweep. http://www.hpl.hp.com/personal/Hans_Boehm/gc/index.html Grant M

Re: PDD 4, version 1.2.

2001-07-03 Thread Dan Sugalski
At 06:16 PM 7/2/2001 -0400, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > DS> At 09:07 PM 7/2/2001 +0100, Graham Barr wrote: > >> I for one use s/^...// quite often in the knowledge that it is > optimized to > >> just move a pointer and not cause a copy of

Re: PDD 4, version 1.2.

2001-07-03 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> We're going to use a copying collector. When the string gets DS> copied as part of a compaction run things'll get cleaned up DS> appropriately. (Not that there's really any cleanup to do in that DS> case) Granted the destination s

Re: PDD 4, version 1.2.

2001-07-03 Thread Graham Barr
On Tue, Jul 03, 2001 at 10:15:02AM -0400, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > DS> We're going to use a copying collector. When the string gets > DS> copied as part of a compaction run things'll get cleaned up > DS> appropriately. (Not that there's

Re: PDD 4, version 1.2.

2001-07-03 Thread Dan Sugalski
At 10:15 AM 7/3/2001 -0400, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > DS> We're going to use a copying collector. When the string gets > DS> copied as part of a compaction run things'll get cleaned up > DS> appropriately. (Not that there's really any cle

Re: PDD 4, version 1.2.

2001-07-03 Thread Dave Mitchell
Graham Barr <[EMAIL PROTECTED]> wrote: > Ouch. I have quite often had applications that would use several hundred MB > now. If I would need double that, then that is going to hurt. I am not > familiar with copying collector GC, does anyone have a pointer to any > papers etc. The basic operation o

Any other comments on PDD 4?

2001-07-03 Thread Dan Sugalski
If not, I'll post the version with the edits I've got and be done with it. Dan --"it's like this"--- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy

Re: PDD 4, version 1.2.

2001-07-03 Thread Dan Sugalski
At 04:28 PM 7/3/2001 +0100, Dave Mitchell wrote: >By the way, the _Garbage Collection_ book is very worthy, but like >Neitsche, "it gets a bit boring after a while." [*] Truer words were never said. The table of contents could almost read: . . . Chapter 6: Same as chapter 5, only different Chapt

Re: [OT] Re: Perl Doesn't Suck

2001-07-03 Thread David L. Nicol
Stephen Zander wrote: > OpenSource. Try writing a second Perl implementation from scratch. Well it's a dicier proposition that writing a Fortran or COBOL implementation from scratch, but it's Not Intractable. The next assertion might come as a small shock to you but Larry isn't god. Topaz wo

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread Matt Youell
Forgive my woeful ignorance Could someone define "data aggregation by inheritance"? From John's original mention I thought this was some oblique MI thing, but now it's sounding like a constructor bubbling scheme, like in C++, etc. Thanks! matt youell

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread David L. Nicol
Matt Youell wrote: > > Forgive my woeful ignorance Could someone define "data aggregation by > inheritance"? From John's original mention I thought this was some oblique > MI thing, but now it's sounding like a constructor bubbling scheme, like in > C++, etc. I understood it to mean automati

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread David L. Nicol
John Porter wrote: > > Michael G Schwern wrote: > > > Give me data aggregation by inheritance > > Oooh, now that would be useful. > > Of course it would. That's why nearly every OO language (beside Perl) > has it. package circular_list_node; ... # defines how the list_nodes do

Re: Generalizing value properties to become postits

2001-07-03 Thread John Siracusa
On 7/3/01 8:14 PM, Damian Conway wrote: > You lost me here. Your ideas for properties are different from mine > (which may well, in turn, be different from Larry's). Anyone else get the feeling that properties are to Perl 6 what oo was to Perl 5? :) It's like we'll finally be getting the oo bit

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread schwern
On Tue, Jul 03, 2001 at 10:26:39AM +0100, Piers Cawley wrote: > Hmm... let me write it first would you? Shouldn't be *too* hard. > Suggestions for a real name for it? Class::Anonymous? Class::Anon? PS base has to take an array ref. Don't forget MI! -- Michael G Schwern <[EMAIL PROTECTED]

Re: Generalizing value properties to become postits

2001-07-03 Thread Damian Conway
> Simplifying somewhat (ok, a heck of a lot), an rvalued: > > $foo is bar > > or > > $foo : bar > > is syntactic sugar for: > > bar($foo) > > with some extra magic for handling a properties hash > associated with $foo's value, in particul

Re: Anyone actually experienced with object inheritance?

2001-07-03 Thread Joe McMahon
On Tue, 3 Jul 2001, Bart Schuller wrote: > The Apple Newton was programmed in NewtonScript, a prototype-based > language. http://www.cc.gatech.edu/~schoedl/projects/NewtonScript/ seems > like a nice overview. NewtonScript was an excellent language; with prototype-based inheritance, you could get