Date: 03/13/01
- Next message: Peter Howard: "RE: [phplib] OOH Forms - Full of warnings / bugs?"
- Previous message: Peter Niederlag: "[phplib] template prob with phplib and php4"
- In reply to: Jesus M. Castagnetto: "[phplib] Re: Re[4]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
["Jesus M. Castagnetto" <jcastagnetto <email protected>>]
> --- Stig Sæther Bakken <ssb <email protected>> wrote: [...snip...]
> > A C rewrite would at least do away with the compilation overhead,
> >and add some execution speed. There are other goodies that are only
> >available in C too, such as object overloading. I've started
> >converting the PEAR base class to C while figuring out the ins and
> >outs of the Zend class API.
>
> That sounds very interesting. One thing that would be also good to
> have is method overloading, but not critical because we can always
> fake it in PHP.
>
> And while we are at it, do you know what would be needed to implement
> desctructors in objects? If we are going to have objects with a life
> longer than the ones we have now, I think we will need destructors, as
> well as some type of object garbage collection or memory leak
> protection.
>
> BTW, I had not had much experience w/ the Zend API, so some of this
> might already be there.
Zeev and Andi have said something about hell freezing over before PHP
gets real destructors. It may seem simple to "just call the
destructor when an object's refcount reaches 0", but it's not really
that simple (I don't remember the details). If you've ever read the
code for xterm, it says "There be dragons." I guess you could say the
same warning applies for Zend. ;-)
- Stig
-- Stig Sæther Bakken <ssb <email protected>> Fast Search & Transfer ASA, Trondheim, Norway--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Peter Howard: "RE: [phplib] OOH Forms - Full of warnings / bugs?"
- Previous message: Peter Niederlag: "[phplib] template prob with phplib and php4"
- In reply to: Jesus M. Castagnetto: "[phplib] Re: Re[4]: [PHP-PEAR] Re: [phplib] Re: [PHP-PEAR] PHPLib and Pear merge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

