Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104849 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 85317 invoked from network); 21 Mar 2019 16:12:09 -0000 Received: from unknown (HELO mail-it1-f174.google.com) (209.85.166.174) by pb1.pair.com with SMTP; 21 Mar 2019 16:12:09 -0000 Received: by mail-it1-f174.google.com with SMTP id z126so4050729itd.5 for ; Thu, 21 Mar 2019 06:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SGPRSdBiD//RJrapv41raQXsigl3F73U0VIuwsfsxjo=; b=hbdZSIu5oW5T3FVdEHBJchtJL9faT6G2fqIri7bPcsdtAEFfjQnC9LPFcrFb9pDTtl y0FfzzBKNeEpcyFSIQ2UnqGLbpiqmhEisqYle8Z+R1ySCDfMKFbr6Fjv/WPaugZI5fbj gnK8PbsbvPf4K0YfcVqV2AdP9PCWagN9CWUh7uGApZ20kkaQsQYeAOazx3uepc94obxo JUCtvGKWsDV//UnrdEw8y5igfGEWsRS9f+Ej0YRd/tgK/NcX32tSLsu228r4bsDSNYKe fFuSInvhgaaCNMA+qy86f8HEMyVp7w5WBcf0DIc+H+c9z8dlQuKuTW3o8vhXZW5Wdm1D L9Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SGPRSdBiD//RJrapv41raQXsigl3F73U0VIuwsfsxjo=; b=Doq32CExvoH/UqW/qGqDvHm5JASw3xzMtvZnzlihIcJwWl7zT+pTqNaGYSyQhjafFb H2SedGont4h2IukJ88gccCUgPbI/1qYxbYIU+mf1PJL6tOOCRRIgnKgdR7gKsP/o2x7Y zAiHC9JC6saKCefXfgDF7cRxRAgfkP6Fbc4Wmu33LDhqYFxbEyPvL71XZliDkP3Prhc+ I+sxoEHDvsaM55AArKltsZIk9jgq+0kKKeD096CuzclTN5cHrBFIfeMTE0diHuqHcGE0 W272c+srXMYem2ogvbvchbG273n8iYs3HEYrkK7RkdcFOk9iFhlCBPL5ou4CSOci41wB j3mg== X-Gm-Message-State: APjAAAWCK4hVO05Xz1TOQHj5iBMl1j0r3o/GxUY6B6j0qDSDJkhmouQ+ P6g3TL8JiNrNdMBTbG1lZt9k9aIsWtvr7Nsrm7aosH2o X-Google-Smtp-Source: APXvYqxnrHVZiCG1Y0h2xOG5gidhlqDQQaAerxBzm07o5RrIuGEnTnSuo+uJg7S+IlNI0Ac7oaJG4Jg2te5G2azJodU= X-Received: by 2002:a02:168a:: with SMTP id a132mr2538632jaa.101.1553173456938; Thu, 21 Mar 2019 06:04:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 21 Mar 2019 14:03:59 +0100 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000002ceb0905849a604f" Subject: Re: [PHP-DEV] [RFC] [VOTE] JIT From: nikita.ppv@gmail.com (Nikita Popov) --0000000000002ceb0905849a604f Content-Type: text/plain; charset="UTF-8" On Thu, Mar 21, 2019 at 12:58 PM Dmitry Stogov wrote: > Hey, > > I'm starting the vote on JIT RFC. > > > https://wiki.php.net/rfc/jit > > > > The voting period is one week, until Thursday 28-03-2019 GMT. > > > Since the initial announcement and following discussions, RFC was imprved > and implementation extended with support for Clang, Windows and ZTS builds. > Please reread RFC carefully. > > > Thanks. Dmitry. > Thanks a lot for your work on this Dmitry! I didn't expect to see full Windows & ZTS support so soon :) A few people have already commented on the question of 7.4 vs 8.0, here are my thoughts on that. Pros: * If Linux distros build with the JIT compiled in, we may get much more testing, as not many people compile PHP themselves. * It allows testing the JIT on code that is not compatible with PHP 8.0, but is compatible with PHP 7.4. Cons: * The JIT for PHP 8 will (presumably) see a lot more work to improve performance, in particular based on runtime profiling and speculative optimization. This means that tests run with the PHP 7.4 JIT may not be representative (and may show worse than actual performance). * It makes for better marketing to include it in PHP 8. PHP 7.4 is already a very packed release (FFI, preloading, typed properties, type covariance, ??=, maybe short closures), probably the most important release since 7.0. * More maintenance burden: I think you are right that we won't be seeing many major changes land in 7.4 anymore. But with the number of other big features already in 7.4, I think we have enough new bug surface area to deal with already. (Unfortunately we are still not on top of all stability issues from PHP 7.3...) Overall, I think overall we're better served with introducing the JIT in PHP 8.0. Nikita --0000000000002ceb0905849a604f--