On Thu, Sep 02, 1999 at 06:57:43PM +0000, sfink@digital-integrity.com wrote:
> Larry Wall wrote:
> > On the subject of optimizations in the backends, if you declare
> >
> > my Dog $spot;
> >
> > then you don't necessarily have to store $spot in an SvRV. It could just
> > be a pointer to the thingy, as long as the generated C code keeps the
> > ref counts on the thingy straight.
>
> Of course, you have to be careful, because doing this would introduce
> the same problems as with traditional compilers -- namely, things in
> 'registers' have a much more restrictive interface than those with the
> full flush of reality upon them. eg, debuggers can't get at them.
Debuggers? Who needs them? Seriously, that's one of the reasons I love
perl. I never use a debugger anymore and that's a big deal consider
that I come from a C++ background.
That's not to say that there shouldn't be a way to turn off variable
hiding optimizations.
$0.02
--
"Does `competition' have an abstract purpose?"
via, but not speaking for Deutsche Bank
Thread Previous
|
Thread Next