Re: Concerning Thies's and Sterling's "Hack"
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Concerning Thies's and Sterling's "Hack" | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4179@lists.php.net to get a copy of this message | ||
On Tue, 26 Aug 2003, Sascha Schumann wrote:
> > As long as there are appropriate checks and fallbacks, I see no problem
> > using compiler-specific hacks. Especially in cases where it would benefit
> > a large percentage of users.
>
> Run-time execution time is not everything, otherwise the
> whole world would still be using Assembler for all
> programming.
>
> Hacks often adversely affect maintainability of any given
> system. For example, the computed goto hack relies on
> separate definitions of all opcodes. Failing to keep this
> list up to date can result in subtle, hard to diagnose
> failures which is undesirable for a stable system (PHP 4).
As if the list of opcodes is likely to change in PHP 4. That sounds like
a bogus argument to me.
-Rasmus