Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46438 invoked from network); 3 Mar 2015 16:04:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 16:04:06 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:43745] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/6E-03783-57BD5F45 for ; Tue, 03 Mar 2015 11:04:05 -0500 Received: by wggy19 with SMTP id y19so40926638wgg.10 for ; Tue, 03 Mar 2015 08:04:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=KZqTA6LcQf3eARZv8TMGNgW68nYUcyLRohSqOUJ0TiM=; b=lagsc5KED+M3kFU4hWOpPKseKkoMaRl+hzi2AqarBm2UkZu8Y7Rta6k8fKcxM4heEc rR6NafD4OjyYGNlJpjIolViXHhAZ1lKq9PqT+TopoC79HwiEyrnj06z6iJZVXCzFj2sX v9NfCZSuQd9Nxb5g3gd7rpgWuKPUXUY+w1iClB9z773Jk2RE/cjNzqFHCNnmC3bqKKCf +2I7NLCeoEa196eA8nJUcKHH9fUBXR2QNWQtlDwvEQyuXox78lDWVfej+PBe31Dpj05T 29anzV/WAVfHaX5aTxuKqWoc5TVfm1LI4221CP92ZvasGoMIoHDqq6iyqFSzP9W9xGwW nddA== X-Gm-Message-State: ALoCoQlLZ9EbKkH4q62xnI7paJdiLzGlE9PwBueWP++CyIz9Es1/aUXbHI3TAV2NZ7xbsvsHfE1BuBfRGq2q7HWwYni7GzcEURQChgs07PU06nFZblEU2tuBM9fYf/c/BFrrJIfX6gyt0Sm0e8zF3b6ssJ1cnF8Gww== X-Received: by 10.194.200.229 with SMTP id jv5mr17967514wjc.59.1425398642375; Tue, 03 Mar 2015 08:04:02 -0800 (PST) References: <246f14640403edad07e8d595fd357286@mail.gmail.com> <70f58ecc2ed3df7f3ebf8f45dcc14a42@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQD4C3IYZ8ixidYeCJVBHrwVMMzwcQKM7Vi6APWEoLUCBfYYjQG30wCdAthkrE0CmeEoaAFEPJzrAXfDQG4BfHw4VQJvvRYAniCpC5A= Date: Tue, 3 Mar 2015 18:04:01 +0200 Message-ID: <6ceda4ae1f89bac37f2558f4c4b1b3b9@mail.gmail.com> To: Anthony Ferrara Cc: Julien Pauli , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] Re: About optimization for compiler From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Anthony Ferrara [mailto:ircmaxell@gmail.com] > Sent: Tuesday, March 03, 2015 5:50 PM > To: Zeev Suraski > Cc: Julien Pauli; PHP internals > Subject: Re: [PHP-DEV] Re: About optimization for compiler > > Zeev, > > >> I agree with that as well, just Anthony gave a different opinion > >> which seems right as well. > > > > I think that if we ever have optimization passes that are > > prohibitively expensive to run interactively (most probably around > > JIT) we'll definitely need new strategies for them. But as long as > > we're talking about relatively optimization passes that take > > milliseconds to run and not minutes, I think this approach holds true. > > How is a JIT "prohibitively expensive to run interactively"? Or was that > not > your implication? It wasn't - the implication is that out of all the optimizations the exist in the world, it's likely that if we ever have ones that are prohibitively expensive to run interactive - they'd most probably be around JIT or other types of native compilation strategies. What you said is the reverse - that JIT optimizations are inherently prohibitively expensive to run interactively, which we obviously all agree on isn't the case and not what I meant. X -> Y doesn't mean Y -> X... Thanks, Zeev