Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76890 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40620 invoked from network); 26 Aug 2014 20:30:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2014 20:30:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:39142] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/84-11622-F5EECF35 for ; Tue, 26 Aug 2014 16:30:24 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 0155D8C0080; Tue, 26 Aug 2014 16:30:21 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zsIjdpbZ-sDn; Tue, 26 Aug 2014 16:30:20 -0400 (EDT) Received: from [192.168.0.2] (05439dda.skybroadband.com [5.67.157.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 30E3A8C0075; Tue, 26 Aug 2014 16:30:18 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 26 Aug 2014 21:30:16 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <23EA2BFD-AAA8-4D5E-92D6-8D7B57332291@ajf.me> References: To: Nikita Popov , Stas Malyshev X-Mailer: Apple Mail (2.1878.6) Subject: [PHP-DEV] Remove generated VM from git? From: ajf@ajf.me (Andrea Faulds) Hi! Spinning this discussion (removing generated VM from git) off into its = own thread. On 26 Aug 2014, at 21:12, Nikita Popov wrote: > -1 on removing zend_vm_execute.h. Having to install php before I can = build php would be very inconvenient. I=92d point out PHP already requires extra dependencies (and your = proposal adds one further) before building PHP from git. I also doubt it = would cause inconvenience to developers, as if you=92re developing PHP = you need a stable PHP install anyway. You wouldn=92t need PHP to build = PHP for most cases, only if you=92re building it from git. On 26 Aug 2014, at 21:08, Stas Malyshev wrote: > That would make building PHP for non-internals person harder and the > list of dependencies they need to get right longer. While providing = zero > added value. And yes, there are a lot of non-internals persons = building > PHP. Sometimes they may even use git. Why would a non-internals person want to build PHP from git? That=92s = just making things harder on themselves. Besides PHP itself (should my = proposal succeed), you need other extra dependencies, including a lexer = generator if Nikita=92s proposal succeeds. >> That would make PHP a dependency to build PHP, but it would hardly be >> the first language which is reliant on itself to be built. Are there >=20 > It would not be the first, but why do it? It works just fine right = now, > why break it? The advantages are twofold: 1. We avoid git tracking generated files that don=92t provide meaningful = diffs and that can have massive changes just from changing the source = code or the generation script. 2. It=92s no longer necessary to manually generate the VM every time an = opcode is modified. (Less debugging pain if you forget.) >=20 >> any distributions out there in which PHP is not available? >=20 > There are systems that aren't Linux and don't have PHP as standard > package, yes. OK, that=92s true. But on such systems the release package would still = build. -- Andrea Faulds http://ajf.me/