Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71027 invoked by uid 1010); 8 Dec 2007 02:25:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71012 invoked from network); 8 Dec 2007 02:25:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2007 02:25:39 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3812] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/02-51565-2A00A574 for ; Fri, 07 Dec 2007 21:25:39 -0500 Received: (qmail 16094 invoked by uid 98); 8 Dec 2007 02:25:40 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/5028. Clear:RC:1(127.0.0.1):. Processed in 0.100208 secs); 08 Dec 2007 02:25:40 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 8 Dec 2007 02:25:40 -0000 Received: from 98.193.37.55 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Fri, 7 Dec 2007 20:25:40 -0600 (CST) Message-ID: <50921.98.193.37.55.1197080740.squirrel@www.l-i-e.com> In-Reply-To: <4755B61A.2000803@lerdorf.com> References: <698DE66518E7CA45812BD18E807866CEF88FDD@us-ex1.zend.net> <7d5a202f0712031900i386f8964s675da26cc93af3fe@mail.gmail.com> <47550FAB.30002@daylessday.org> <698DE66518E7CA45812BD18E807866CEF890ED@us-ex1.zend.net> <475578BE.40908@daylessday.org> <4755A797.1020905@lerdorf.com> <009001c836ae$4ba0add0$e2e20970$@mcnaught@synergy8.com> <4755B310.9070603@lerdorf.com> <4755B55A.1030708@zend.com> <4755B61A.2000803@lerdorf.com> Date: Fri, 7 Dec 2007 20:25:40 -0600 (CST) To: "Rasmus Lerdorf" Cc: "Stanislav Malyshev" , scott.mcnaught@synergy8.com, "'Antony Dovgal'" , "'Andi Gutmans'" , "'Cristian Rodriguez'" , internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Garbage collector patch From: ceo@l-i-e.com ("Richard Lynch") On Tue, December 4, 2007 2:18 pm, Rasmus Lerdorf wrote: > Stanislav Malyshev wrote: >>> 1. Always compile it in but leave undocumented #ifdefs in place for >>> performance freaks. Those same performance freaks aren't going to >>> care >>> about the binary compatibility issue since they are the same people >>> who >>> build all their own stuff. >> >> Note that breaking BC is not only about performance - one your build >> is >> not the same as mainstream PHP, you can't use any binary extension >> which >> would do anything non-performance-related - like interfacing some >> external system/library, debugging, profiling, testing, security and >> so on. >> Any commercial module won't be available for the user of this >> switch, >> and all open-source modules one'd have to build by oneself, which >> may be >> serious maintenance issue. I know there are a bunch of companies >> that >> compile PHP with their own options but still use commercial modules, >> including both performance and non-performance ones. They couldn't >> use >> this compile switch. > > Yes, I know what binary compatibility means. Call me crazy, but... Would it be possible to hard-code the bit that adds the 4 bytes to the zval, but make the execution bit a flag so that binary compatibility is always there, but the executable code that does the GC can come or go as needed?... Or am I just talking nonsense due to ignorance? -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?