Re: PDD 4, version 1.2.

2001-07-02 Thread Uri Guttman
> "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 the string. DS> We'll still be doing that. (The leftover

Re: PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
At 09:19 PM 7/2/2001 +0100, Graham Barr wrote: >On Mon, Jul 02, 2001 at 04:12:31PM -0400, Dan Sugalski wrote: > > At 09:07 PM 7/2/2001 +0100, Graham Barr wrote: > > >On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote: > > > > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote: > > > > >On Mo

Re: PDD 4, version 1.2.

2001-07-02 Thread Graham Barr
On Mon, Jul 02, 2001 at 04:12:31PM -0400, Dan Sugalski wrote: > At 09:07 PM 7/2/2001 +0100, Graham Barr wrote: > >On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote: > > > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote: > > > >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:

Re: PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
At 09:07 PM 7/2/2001 +0100, Graham Barr wrote: >On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote: > > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote: > > >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote: > > > > >what about starting offset? that is used now to shorten a st

Re: PDD 4, version 1.2.

2001-07-02 Thread Graham Barr
On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote: > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote: > >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote: > > > >what about starting offset? that is used now to shorten a string from > > > >the left side. > > > > > > D'oh! In.

Re: PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote: >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote: > > >what about starting offset? that is used now to shorten a string from > > >the left side. > > > > D'oh! In. Out goes the unused. > >Whoa there. Do we still actually want to do this?

Re: PDD 4, version 1.2.

2001-07-02 Thread Simon Cozens
On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote: > >what about starting offset? that is used now to shorten a string from > >the left side. > > D'oh! In. Out goes the unused. Whoa there. Do we still actually want to do this? It's unclear whether or not it's actually a net win. --

Re: PDD 4, version 1.2.

2001-07-02 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: >> Rationale: it burns my eyes to have a mix of names with and >> without underscores. DS> And it means no shift key needed. from too many years of typing -> and foo_bar, i have my emacs map _ to - and vise versa. so i can type foo_b

Re: PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
At 02:48 PM 7/2/2001 -0400, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: [Typos and dropped phrases snipped] Fixed, thanks. >what about starting offset? that is used now to shorten a string from >the left side. D'oh! In. Out goes the unused.

Re: PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
At 01:53 PM 7/2/2001 -0500, Jarkko Hietaniemi wrote: >Good thinking to leave space for future expansion. (A UV is >guaranteed to be enough to hold a pointer, right?) Yes, but we just lost it to the starting offset. > > DS> } > >Rationale: it burns my eyes to have a mix of names with and >wi

Re: PDD 4, version 1.2.

2001-07-02 Thread Jarkko Hietaniemi
Silly stylistic nit: > DS> struct perl_string { > DS> void *string_buffer; buffer > DS> UV allocated; > DS> UV byte_length; bytes > DS> UV flags; > DS> UV character_length; characters > DS> UV encoding; > DS> UV type; > DS> UV unused; Goo

Re: PDD 4, version 1.2.

2001-07-02 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> The string header format has changed some to allow for type DS> tagging. The flags infor for strings has changed as well. ^ DS> =head1 DESCRIPTION DS> This PDD details the primitive datatypes that th

PDD 4, version 1.2.

2001-07-02 Thread Dan Sugalski
This is going to be the final version, unless someone can see something stupid in it. The only changes from version 1.1 are to the string stuff. Ask, could you link this on to the PDD page of dev.perl.org, please? =head1 TITLE Perl's internal data types =head1 VERSION 1.2 =head2 CURRENT

language-dev

2001-07-02 Thread Simon Cozens
Have you noticed that the same issues keep coming up over and over: Unicode representation, op despatch and signals, threading, integer preservation, and so on and so on. Have you wondered how other languages, like Python and Tcl, solve these? Do you know that *your* experience with language imple