develooper Front page | perl.perl6.language | Postings from September 2000

Re: the C JIT

Thread Previous | Thread Next
From:
David L. Nicol
Date:
September 1, 2000 09:22
Subject:
Re: the C JIT
Message ID:
39AFD789.4E5EE512@kasey.umkc.edu
Nathan Wiger wrote:
> 
> "David L. Nicol" wrote:
> >
> >         my dog $spot;
> > to
> >         dog spot;
> >
> > If we only allow this where enough info is available to allocate dog-sized
> > pieces of memory directly, Perl can blaze through the code that deals with
> > dogs.
> 
> I don't see what barewords gain us here. Who says that

They gain us compliance with the whims of the people who like barewords
for variable names.  You may or may not find that to be a good thing.

I like flexibility.

We also gain a way of differentiating between a "Scalar" which refers
to a "type" which is something else and a lot of very late binding, and
a fixed-size object, an implementation detail that rfc 161 does not address.

These fixed-size "external" objects would not subclass Scalar, and they
could be easily differentiated if they were barewords.  From a API point
of view they are crippled scalars.


-- 
                          David Nicol 816.235.1187 nicold@umkc.edu
          Kansas City Perl Mongers will meet Sept. 20th at 7:00 in
          Westport Flea Market Bar & Grill  http://tipjar.com/kcpm

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About