Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33675 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52575 invoked by uid 1010); 4 Dec 2007 18:49:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52559 invoked from network); 4 Dec 2007 18:49:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2007 18:49:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=malterisio777@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=malterisio777@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: malterisio777@gmail.com X-Host-Fingerprint: 64.233.166.178 py-out-1112.google.com Received: from [64.233.166.178] ([64.233.166.178:51394] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/01-47601-541A5574 for ; Tue, 04 Dec 2007 13:49:42 -0500 Received: by py-out-1112.google.com with SMTP id d32so14640786pye for ; Tue, 04 Dec 2007 10:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=6AINatOGwn+Mf1RfSvtxQsdEzOtTO6OtGFyt9RldQX4=; b=xZ7q8O7wmjs2xMIL5NES2IW1mWoVssbIhBt/ohtcrFCoXH8EFnuibM1UoLOoKSrfwoOb0So0l/gX/vWoxESce8/AFQSqbHU4F9/IxL9xIFJXysjDtg5f7ngANbvFAKy7cxSqM9gXgYCb4m7R13LUVRfp8xTj7jGVCizyT7siFJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QNaOjI5VQxngYXqShGDZmoeAQ9pnEnOxf0mBKBA29zwtuYUmgJrJDFVxjayfLigQIjaSxe2BAE28kqlWT0ydxryVBxpNmGiw5r5+JeTef9LPzJHmGVDys7dJZpDLoMATC4vTWpZ3ZR5oI1oIiQlbpgPi6+pFGk1BiASMdRDUPhE= Received: by 10.142.213.9 with SMTP id l9mr420146wfg.1196792634642; Tue, 04 Dec 2007 10:23:54 -0800 (PST) Received: by 10.142.157.9 with HTTP; Tue, 4 Dec 2007 10:23:54 -0800 (PST) Message-ID: <52dbac0f0712041023id44081ftc3c2147a1b69a13a@mail.gmail.com> Date: Tue, 4 Dec 2007 15:23:54 -0300 To: "Michael McGlothlin" Cc: "internals Mailing List" In-Reply-To: <475598BB.2010203@swplumb.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15374_13125343.1196792634600" References: <4731278C.8020301@chiaraquartet.net> <4731F977.4080502@zend.com> <4753B087.4020206@chiaraquartet.net> <47548031.20608@zend.com> <30bd80240712031605y326d886fl6197839a60eeedcf@mail.gmail.com> <47559014.2070607@zend.com> <30bd80240712040944we67015ds3b86c4f9efeb266f@mail.gmail.com> <475594FC.1060903@zend.com> <475598BB.2010203@swplumb.com> Subject: Re: [PHP-DEV] ignored patches From: malterisio777@gmail.com ("Martin Alterisio") ------=_Part_15374_13125343.1196792634600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/12/4, Michael McGlothlin : > > The need to pack a program all into a single source file for performance > reasons would seem to indicate that the way PHP compiles/interprets > could be improved. Wouldn't it be better to improve this area than add > language features to deal with the issue? > Actually, it's an expected tradeoff of interpreted languages. Compilable languages have both a compiler and a linker that bundles everything in one executable. By using bytecode caching and bundling you're just getting closer to the performance expectations of a compilable language. But bundling is not as easy as it seems, and its complexity is proportionally inverse to the complexity of the language. As much as you can try to improve this area, you can't do much without resorting to hacks and workarounds. An option is becoming a managed-code language such as Java or the .Net family. ------=_Part_15374_13125343.1196792634600--