Re: Perl Apprenticeship Program

2000-12-06 Thread Dave Storrs
On Tue, 5 Dec 2000, Steve Fink wrote: > David Grove wrote: > > > Also, as far as documentation goes, I think it _should_ be written by > > apprentices, so that non-masters can understand it too. That's always been > > Except it's a particular duty that nobody really likes to perform. Which

Re: Perl6 in Java? (was Re: Meta-design)

2000-12-06 Thread Sam Tregar
On Wed, 6 Dec 2000, Bradley M. Kuhn wrote: > And, it will make the barrier for entry for new internals hacker lower. Really? Do you honestly believe there are more Java programmers than C programmers? Particularily in the Perl development community! > I would note that if we write in Java, we

Re: Meta-design

2000-12-06 Thread Jarkko Hietaniemi
On Wed, Dec 06, 2000 at 08:30:06PM -0500, Bradley M. Kuhn wrote: > > At 07:49 AM 12/6/00 -0800, Daniel Chetlin wrote: > > >Simply deciding that `eval STRING' is "unimplemented" on these > > >theoretical ports and binary compiles is the best idea I've heard yet, > > >but we should remember that `re

Re: Meta-design

2000-12-06 Thread Bradley M. Kuhn
> At 07:49 AM 12/6/00 -0800, Daniel Chetlin wrote: > >Simply deciding that `eval STRING' is "unimplemented" on these > >theoretical ports and binary compiles is the best idea I've heard yet, > >but we should remember that `require' is built on `eval STRING'. I see no reason to ghettoize powerful

Re: Meta-design

2000-12-06 Thread Bradley M. Kuhn
> > Why does string C have to screw everything up? Nathan Torkington <[EMAIL PROTECTED]> wrote: > It doesn't. String eval is the escape hatch from a language that can't do > what you want it to do. As such it's okay for it to be slow--consider it > incentive to fix the language :-) The runti

this was only an academic example (was Re: Meta-design)

2000-12-06 Thread Bradley M. Kuhn
Nicholas Clark <[EMAIL PROTECTED]> wrote: > > 2 things the above reminds me to watch out for > >int32 toInt32() > > don't assume anything about integer sizes (or any machine native type sizes > or precisions, or that floating point can (or can't) preserve integers) > > Un

documenting interfaces (was Re: Meta-design)

2000-12-06 Thread Bradley M. Kuhn
Dan Sugalski <[EMAIL PROTECTED]> wrote: > [vtable stuff snipped] > I don't think it's too early to be dealing with the way variables are > implemented, at least at some level. I agree; I didn't mean for it to sound like I was saying otherwise. > Also, just because we do vtables under the ho

Perl6 in Java? (was Re: Meta-design)

2000-12-06 Thread Bradley M. Kuhn
Dan Sugalski <[EMAIL PROTECTED]> wrote: > More importantly, what we're doing is outside Java's area of competence. > We're writing system-level code here. Java isn't a system-level programming > language. This isn't a bad thing, but it means it's an inappropriate > solution to the problem. We

Re: Markup wars (was Re: Proposal for groups)

2000-12-06 Thread Jarkko Hietaniemi
On Wed, Dec 06, 2000 at 03:59:32PM -0800, Russ Allbery wrote: > Bennett Todd <[EMAIL PROTECTED]> writes: > > > My own personal favourite for archival format would be to stick with POD > > until and unless we can cons up something even Plainer than POD. I've > > got this dream that someday we'll b

Re: Markup wars (was Re: Proposal for groups)

2000-12-06 Thread Russ Allbery
Bennett Todd <[EMAIL PROTECTED]> writes: > My own personal favourite for archival format would be to stick with POD > until and unless we can cons up something even Plainer than POD. I've > got this dream that someday we'll be able to take something --- perhaps > based on Damian's Text::Autoforma

Re: Tech documentation (Re: Perl Apprenticeship Program)

2000-12-06 Thread David Grove
Kirrily Skud Robert <[EMAIL PROTECTED]> wrote: > On Tue, Dec 05, 2000 at 11:28:31AM -0800, Nathan Wiger wrote: > > > > Anyways, that's just one suggestion. Do I have any idea where to find > > these mythical people? No, unfortunately. Perhaps some feelers on > > newsgroups might be a good p

Re: Perl Apprenticeship Program

2000-12-06 Thread Graham Barr
On Tue, Dec 05, 2000 at 10:00:50PM +, Nick Ing-Simmons wrote: > B. The "master" / "apprentice" relationship is just that - it depends >how the people in question relate. As a potential "master" I am all >too aware that I am not skilled in teaching - usually because I don't >know w

intercal

2000-12-06 Thread Kirrily Skud Robert
other languages are great. they are a source of features to steal^Wborrow. INTERCAL except maybe intercal

RE: Meta-design

2000-12-06 Thread Sam Tregar
On Wed, 6 Dec 2000, Dan Sugalski wrote: > Sure, but only objects. (or, to be really paranoid, things referred to) > Nothing else needs refcounting. All the refcounting code can be isolated in > the reference creation and deletion code, and we don't have to pay it > otherwise. Good point. I hadn

RE: Meta-design

2000-12-06 Thread Buddha Buck
At 03:54 PM 12-06-2000 -0500, Sam Tregar wrote: >On Wed, 6 Dec 2000, Dan Sugalski wrote: > > > Non-refcounting GC schemes are more expensive when they collect, but less > > expensive otherwise, and it apparently is a win for the non-refcount > > schemes. > >Which is why GC is intimately tied to DE

RE: Meta-design

2000-12-06 Thread Dan Sugalski
At 03:54 PM 12/6/00 -0500, Sam Tregar wrote: >On Wed, 6 Dec 2000, Dan Sugalski wrote: > > > Non-refcounting GC schemes are more expensive when they collect, but less > > expensive otherwise, and it apparently is a win for the non-refcount > > schemes. > >Which is why GC is intimately tied to DESTR

RE: Meta-design

2000-12-06 Thread Sam Tregar
On Wed, 6 Dec 2000, Dan Sugalski wrote: > Non-refcounting GC schemes are more expensive when they collect, but less > expensive otherwise, and it apparently is a win for the non-refcount > schemes. Which is why GC is intimately tied to DESTROY consideration in terms of Perl. If we intend to hon

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Dan Sugalski
At 12:48 PM 12/6/00 -0800, Nathan Wiger wrote: > > Good for you. This is internals design; perl6-language is over there ---> > > and the "ph33r mY |<" phase is supposed to be over now > > anyway. > >Cool! Thanks alot for the useful feedback. Comments like this are >certainly beneficial to the goal

RE: Meta-design

2000-12-06 Thread Dan Sugalski
At 03:38 PM 12/6/00 -0500, Sam Tregar wrote: >On Wed, 6 Dec 2000, Dan Sugalski wrote: > > > >my $new_dog; > > >{ > > > my $dog = new Dog; > > > $new_dog = \$dog; > > >} > > > > That would hoist the Dog reference into an outer level of scope--in this > > case the one contain

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Nathan Wiger
Simon Cozens wrote: > > Oh boy, it's OO syntax nargery time again. *sigh*. > > I think it would be cool > > Good for you. This is internals design; perl6-language is over there ---> > and the "ph33r mY |<" phase is supposed to be over now > anyway. Cool! Thanks alot for the useful feedback. Co

RE: Meta-design

2000-12-06 Thread Sam Tregar
On Wed, 6 Dec 2000, Dan Sugalski wrote: > >my $new_dog; > >{ > > my $dog = new Dog; > > $new_dog = \$dog; > >} > > That would hoist the Dog reference into an outer level of scope--in this > case the one containing $new_dog. Or so my thinking goes at the moment, > though th

RE: Meta-design

2000-12-06 Thread Dan Sugalski
At 03:14 PM 12/6/00 -0500, Sam Tregar wrote: >On Wed, 6 Dec 2000, Dan Sugalski wrote: > > > What I'm thinking is that we'll have a scoped destruct stack that gets > > pointers to variables that explicitly need destruction, and as we exit > > levels of scope we call the destructors of those variabl

RE: Meta-design

2000-12-06 Thread Sam Tregar
On Wed, 6 Dec 2000, Dan Sugalski wrote: > What I'm thinking is that we'll have a scoped destruct stack that gets > pointers to variables that explicitly need destruction, and as we exit > levels of scope we call the destructors of those variables that need it. > (They can still be GC'd later to p

Re: What's a PDD for the rest of us?

2000-12-06 Thread Dan Sugalski
At 03:08 PM 12/6/00 -0500, Bryan C. Warnock wrote: >On Wed, 06 Dec 2000, Dan Sugalski wrote: > > Well, until Larry releases the spec, just about everything else is frozen, > > though we can certainly expand the PDD stuff to include the standard > > library, documentation, and QA stuff. (It seems a

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Dan Sugalski
At 07:34 PM 12/6/00 +, Simon Cozens wrote: >On Wed, Dec 06, 2000 at 10:51:14AM -0800, Nathan Wiger wrote: > > Don't forget we can mix-and-match C/C++ to some degree > >for added portability! > >-- >If computer science was a science, computer "scientists" would study what >computer systems do a

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Dan Sugalski
At 07:55 PM 12/6/00 +, Simon Cozens wrote: >Oh boy, it's OO syntax nargery time again. *sigh*. > >On Wed, Dec 06, 2000 at 10:51:14AM -0800, Nathan Wiger wrote: > >@array->length > >%hash->keys > > > > Simply keeping @arrays and %hashes as buckets for SV's wouldn't let you > > do this.

Re: What's a PDD for the rest of us?

2000-12-06 Thread Bryan C. Warnock
On Wed, 06 Dec 2000, Dan Sugalski wrote: > Well, until Larry releases the spec, just about everything else is frozen, > though we can certainly expand the PDD stuff to include the standard > library, documentation, and QA stuff. (It seems a tad premature to be > proposing language changes when

Re: What's a PDD for the rest of us?

2000-12-06 Thread Dan Sugalski
At 02:39 PM 12/6/00 -0500, Bryan C. Warnock wrote: >In http://www.mail-archive.com/perl6-internals@perl.org/msg01766.html, >Dan outlined rev 2 of the RFC process, PDD (Perl Design Docs). > >Everything seems rather specific to internals - will there be a separate >mechanism in place for all-things

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Simon Cozens
On Wed, Dec 06, 2000 at 10:51:14AM -0800, Nathan Wiger wrote: > Don't forget we can mix-and-match C/C++ to some degree for added portability! -- If computer science was a science, computer "scientists" would study what computer systems do and draw well-reasoned conclusions from it, instead of

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Simon Cozens
Oh boy, it's OO syntax nargery time again. *sigh*. On Wed, Dec 06, 2000 at 10:51:14AM -0800, Nathan Wiger wrote: >@array->length >%hash->keys > > Simply keeping @arrays and %hashes as buckets for SV's wouldn't let you > do this. I don't think that's true. At all. > An "SV" would really

What's a PDD for the rest of us?

2000-12-06 Thread Bryan C. Warnock
In http://www.mail-archive.com/perl6-internals@perl.org/msg01766.html, Dan outlined rev 2 of the RFC process, PDD (Perl Design Docs). Everything seems rather specific to internals - will there be a separate mechanism in place for all-things non-internal, say, for instance, the format for a non-in

Re: Tech documentation (Re: Perl Apprenticeship Program)

2000-12-06 Thread David Grove
> >Open Source Writers Group (http://oswg.org/) is a good starting point. > >I'm subscribed to their mailing list. I can think of a couple of other > >good places to try, too, but they're a bit politically incorrect to > >mention in this context :-/ > > Who on earth would be considered poli

Re: Meta-design

2000-12-06 Thread Simon Cozens
On Wed, Dec 06, 2000 at 08:31:07AM -0700, Nathan Torkington wrote: > > Today's scary thought: > > > > use B; my $main_root = new B::OP; > > ... > > my $int = new B::Interpreter; $int->run($main_root) > > That's yesterday's scary thought. Today's scary thought is making > a perl5 XS

Call for apprentice: was Re: Meta-design

2000-12-06 Thread Simon Cozens
On Wed, Dec 06, 2000 at 11:48:45AM +, Nicholas Clark wrote: > (Is maintaining such a document an "apprentice" job? (see perl6-meta)) I'd certainly like someone to take on the maintainance of the document I posted last night, because I hope that one of its functions will be to explain to appr

Re: Tech documentation (Re: Perl Apprenticeship Program)

2000-12-06 Thread Nathan Wiger
Kirrily Skud Robert wrote: > > Open Source Writers Group (http://oswg.org/) is a good starting point. > I'm subscribed to their mailing list. This is really cool. Should we consider posting an announcement to this website for potential docs people? Or is it still premature to do something like

OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Nathan Wiger
Simon Cozens wrote: > > =head2 Implementation Language > > C++ gives us OO and headaches, is wildly non-portable due to a lack of > decent implementations, and we don't have enough experience of it. C's > portable and everyone knows it, but it's a swine for doing OO things. Don't forget we can

Re: Meta-design

2000-12-06 Thread Nicholas Clark
On Wed, Dec 06, 2000 at 01:15:07PM -0500, Dan Sugalski wrote: > What I'm thinking is that we'll have a scoped destruct stack that gets > pointers to variables that explicitly need destruction, and as we exit > levels of scope we call the destructors of those variables that need it. > (They can

RE: Meta-design

2000-12-06 Thread Dan Sugalski
At 06:47 AM 12/6/00 -0800, Evan Howarth wrote: >Perhaps a hybrid approach would solve all the language needs. Retain >reference counting. When the count drops to zero, call the destructor and >mark the object. Free marked objects when sweep runs. To reclaim circular >references, the sweep task

A moment about software quality...

2000-12-06 Thread Dan Sugalski
http://www.salon.com/tech/feature/2000/12/06/bad_computers/index.html And no, open source software is *not* immune. Dan --"it's like this"--- Dan Sugalski even samurai [EMAIL PRO

Re: Meta-design

2000-12-06 Thread Dan Sugalski
At 08:31 AM 12/6/00 -0700, Nathan Torkington wrote: >Simon Cozens writes: > > Today's scary thought: > > > > use B; my $main_root = new B::OP; > > ... > > my $int = new B::Interpreter; $int->run($main_root) > >That's yesterday's scary thought. Today's scary thought is making >a perl5

Re: Meta-design

2000-12-06 Thread Dan Sugalski
At 07:49 AM 12/6/00 -0800, Daniel Chetlin wrote: >Simply deciding that `eval STRING' is "unimplemented" on these >theoretical ports and binary compiles is the best idea I've heard yet, >but we should remember that `require' is built on `eval STRING'. That's not necessarily the case. If we allow f

Re: Meta-design

2000-12-06 Thread Daniel Chetlin
On Wed, Dec 06, 2000 at 08:31:07AM -0700, Nathan Torkington wrote: > Simon Cozens writes: > > Why does string C have to screw everything up? > > It doesn't. String eval is the escape hatch from a language that > can't do what you want it to do. As such it's okay for it to be > slow--consider it

Re: Meta-design

2000-12-06 Thread Nathan Torkington
Simon Cozens writes: > This is not a design document; it's a meta-design document - that is, it > tells us what things we need to design, the things we need to consider > during the design process of the Perl 6 internals. Thank you! > Why does string C have to screw everything up? It doesn't.

RE: Meta-design

2000-12-06 Thread Evan Howarth
> Decisions of GC models rapidly become religious arguments. The most important argument is: Does a particular GC model meet the Perl 6 language requirements? Reference counting fulfills the language requirement for deterministic destructor calls. (Those destructors might be freeing non-memor

Re: Meta-design

2000-12-06 Thread Jarkko Hietaniemi
> This example shows that you can offend all > "religious" camps and still capitalize on their > disparate arguments. Sounds like keeping the holidays of all the religions and but none of the penances. I like it :-) -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist

Re: Meta-design

2000-12-06 Thread Jarkko Hietaniemi
> No, there isn't. I object to targetting GCC specifically for two reasons, > though, neither of them VMS related: > > 1) Targeting a single compiler, no matter whose it is, is a bad idea. We're > writing in a *language*, not for a compiler. Targeting a specific compiler > restricts us even mo

Re: Meta-design

2000-12-06 Thread Nicholas Clark
On Tue, Dec 05, 2000 at 11:12:01PM -0500, Bradley M. Kuhn wrote: > helps people think about the issues. However, I would like it to be > possible for a programmer of language Foobar to take the specification of > the data structures and implement them directly in Foobar without too much > trouble

Re: Meta-design

2000-12-06 Thread Nicholas Clark
On Wed, Dec 06, 2000 at 02:05:32AM +, Simon Cozens wrote: > decent implementations, and we don't have enough experience of it. C's > portable and everyone knows it, but it's a swine for doing OO things. but perl5 is *still* encountering platforms that don't fully meet the 1989 ANSI spec for p