Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104233 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80157 invoked from network); 6 Feb 2019 12:45:38 -0000 Received: from unknown (HELO mail-it1-f172.google.com) (209.85.166.172) by pb1.pair.com with SMTP; 6 Feb 2019 12:45:38 -0000 Received: by mail-it1-f172.google.com with SMTP id z7so4720100iti.0 for ; Wed, 06 Feb 2019 01:26:59 -0800 (PST) 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=hk4nwxTF4ODGJAGclqzqm6OVYRW908UTM/6pgH/tXeo=; b=lqB1RMKDzFdSsB3/bDPessznf25P0GCax+AH1h4PF7groqdp9YfBQiGF+P4HRB1R9B XYxKsuyZIbHQgez7rtsmjlUlcvi4OHa8rR0u1O+e6892A0+PW3/5z/t9DJ/SpGqdDfXu W0T1hJ4mAlG5/EDcoIe2cXK5Sp2gjZ3xb/5nLEV4J+OmlmOzOYg4+HKz01dDfdG4fdGV ZMsR9/Sp+XbVT6wMOcb47UVYmoMmbzkbfTkXwNfW7hGstOKtsZaja20kgGLZa2jL+Mbt tEj1+Dx8DZUgyMWvZ8AUXWygViI3hSnNDUA78NQ3fkV3YgY2mQr286YTbMKnWK9ttMmp h+7A== 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=hk4nwxTF4ODGJAGclqzqm6OVYRW908UTM/6pgH/tXeo=; b=kmwvvZgMGgMl27h9MD34ArIS368BvqXjv5LAFWiROeMv2Wm/RFte7rztIaa34XvTvd vZVpM3U+Hdandl459eBQiOISCW+0CTtN9TQVXsCKY1ST5OaJ2t9Zt8IVjuxKgYqD+aSe 1MNOaonlns6DN+n+ojzB834N3hpO8WmuzmtD2nq22/pg5hxzhnsI6rqBSKm7gh0hRFcJ OBOSRv0D4r0zyUN5NOZyIuHqCSEHYUp2YyxAEJbqCNLWFUxF0WkUwtz+4T8VqqEU0hOc vz9vCct0y9ZH5RnmP92frJWlD7FOQvZdiMmkjPPCljWzGEVRe/pss4Jc72fTL3h6CYHp O9qg== X-Gm-Message-State: AHQUAua52Khx5t4veB0Z9Jq4l6oQrtA6exj1eBR7pu/kUtDWYV6hg4vY WUWaZZULOe28HwJ6fBfJm7/daWnjDiPTbAjMNuk= X-Google-Smtp-Source: AHgI3IaTcjKawcP0++5cptQrOWkVRY3EeD+SXD2+Zg47SZcn2ILhVKI8FVFrU1NTSkSCbHeqq6YCgavSx5NPu/KthNg= X-Received: by 2002:a05:660c:81a:: with SMTP id j26mr1631521itk.70.1549445219129; Wed, 06 Feb 2019 01:26:59 -0800 (PST) MIME-Version: 1.0 References: <2321148.uWQDsfDpJu@vulcan> <4df2d7cf-31dc-a9cf-eefe-d92bad199312@zend.com> <5896422.hBkj740jAu@vulcan> <67097B20-5D7D-489E-8C5B-E238890A7A83@zend.com> <5203a083-4932-b564-1f23-6a4eb2f9fe8c@zend.com> In-Reply-To: <5203a083-4932-b564-1f23-6a4eb2f9fe8c@zend.com> Date: Wed, 6 Feb 2019 10:26:40 +0100 Message-ID: To: Dmitry Stogov Cc: Zeev Suraski , Jan Ehrhardt , PHP internals Content-Type: multipart/alternative; boundary="000000000000e29ee50581365339" Subject: Re: [PHP-DEV] [RFC] JIT From: nikita.ppv@gmail.com (Nikita Popov) --000000000000e29ee50581365339 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 4, 2019 at 8:30 AM Dmitry Stogov wrote: > > > On 2/3/19 9:00 PM, Nikita Popov wrote: > > On Sun, Feb 3, 2019 at 5:16 PM Zeev Suraski wrote: > > > >> > >>> On 3 Feb 2019, at 16:43, Jan Ehrhardt wrote: > >>> > >>> Zeev Suraski in php.internals (Sun, 3 Feb 2019 11:02:56 +0000): > >>>> > >>>> > >>>> How is that related? > >>> > >>> It is directly related with your statement that "developers with other > >>> host OSs still use Linux for the actual PHP development". They don't > use > >>> Linux for the actual PHP development. They are using Windows. > >> > >> That statement was in a certain context - for those who use containers > and > >> Linux VMs, which is (as mentioned) a growing trend. I think it's clear > >> that I'm not claiming it's everyone, or even the majority - but if it > >> wasn't clear - it should be now... > >> > >> Zeev > >> > > > > I feel like this discussion ended up going a bit astray, with a focus on > > only the issue of Windows support... While I think that we should > endeavor > > to support at least Windows and MacOS before the JIT hits a release > version > > of PHP, at this point in time (and for the purposes of the vote) the > > questions of maintenance and stability are the most important. > > If we don't start, we definitively won't get support. > > > > Ultimately > > those questions can't really be answered until interested parties have > > reviewed the JIT codebase. To that end it would be helpful if: > > > > a) A PR of the JIT branch could be submitted against php-src, so there > is a > > place for review comments and more technical discussions. (It might be > > necessary to squash, as GH doesn't deal with large history well.) > > OK. Not sure about re-base. > > > b) The RFC (or some other place) is extended with some high-level design > > information on how the JIT works on a technical level. Some notes on how > > JIT bugs are usually debugged would also be very helpful. > > > OK. I'll try to extend RFC with some design elements. > > Thanks. Dmitry. > As you probably spent a lot of time profiling the JIT, I'm wondering if you have any insights about what the main issues are right now that prevent better performance and what some idea to improve those would be. E.g. I don't think the JIT currently does any inlining (right?) and that might be something that could give a benefit? Nikita --000000000000e29ee50581365339--