Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104747 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35030 invoked from network); 15 Mar 2019 18:22:52 -0000 Received: from unknown (HELO mail-lj1-f175.google.com) (209.85.208.175) by pb1.pair.com with SMTP; 15 Mar 2019 18:22:52 -0000 Received: by mail-lj1-f175.google.com with SMTP id n18so6315732ljg.11 for ; Fri, 15 Mar 2019 08:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=08WP2ZnwE4WtH5G0xrbSO04O31U192WDac0D9hTlTSs=; b=CPfFbva9vCKZGU5C1TPeAyQzMkmNSzkslp0T3/cknBVg2h6zP4n3SRlhdeuQ45Ki76 mQ02dAPw3naOq9Yy/UKO7UcHRXAt3T2QpSJbx65sBYO8xqk8TmZb0GgJ96nAig4A9fzz 08BblUiKQiJwFBaE6HDLpO43YTyLRFJDFBOf2wxeDq2XLyqF7LAcOvi+AIbiMeakBwHq 0cc9ntpBaXHsfL3s9vCuI35s+joV7kKOU7EDdRAzS4EuMBVgB9T7XTVSbZ12BjH2oJd7 qnb3hpg3yKLOZO5op5Iadpmiz+JRHS6Iqz/w3yDMdJRb817/PIgI+ie6scYy8nnPbyfB AjHg== 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=08WP2ZnwE4WtH5G0xrbSO04O31U192WDac0D9hTlTSs=; b=BybhXSrs1bTboZ9aYAQ8cxUbBZAzrOSLpwfVO5YYqngHECQfUn2fN5sJy8xTNJgfa3 Xk+eb/9LBQ0w4RivNbL9devtP+kx8taIRfXMBZf7H5SFWIh/S3/8XcAyuoze7CLFpM0J N3SW1nbA4xZEfi1FzjWw62wKJ+2kJHbu3WqVB4USQUsgRuBZCaqG4JGg8Q5MIikO6FCP IggakDtYAvy9t9IK3yyyxoQG41EyNERZj7oqhWMG2D85ilseCmbup6ZdO2ugDKKBgVIj BpItl4q2QkZZe5rGg3dv7GCZOtEQyhdnX3WK2isvurlyJtssAFltgqZNb5IoPUdX63+B 4VdQ== X-Gm-Message-State: APjAAAXCxpirFHAU6U0JcTEjg+ZQwqfpjyHpgazsnZcvmgg0szvxUscl RclFwuyfC7dz3Zb3IPYGR3iL2mSpZTliiYrXUi4Amg== X-Google-Smtp-Source: APXvYqzlAhFyLbJrxQDG/M8EXOo3W80o5H3DZiu1kbcwngasBiM50Ktzh7Xsz/esXrpWUoJyTzKl5JrybwQvFZpxjnU= X-Received: by 2002:a2e:9c42:: with SMTP id t2mr2498518ljj.149.1552662811155; Fri, 15 Mar 2019 08:13:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 15 Mar 2019 16:13:20 +0100 Message-ID: To: Dmitry Stogov Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="00000000000050bebd0584237b6e" Subject: Re: [PHP-DEV] [RFC] JIT From: kontakt@beberlei.de (Benjamin Eberlei) --00000000000050bebd0584237b6e Content-Type: text/plain; charset="UTF-8" On Fri, Mar 15, 2019 at 10:53 AM Dmitry Stogov wrote: > Hi Internals, > > https://wiki.php.net/rfc/jit > > Now JIT also supports ZTS (checked on Linux and Windows). > Please, test and report problems. > > So, complains about JIT compatibility matrix are satisfied. > It should be some incompatibilities with ZTS on Mac, but this easily > fixable. > > I'll spend some additional time on code cleanup, and then start voting. > > Ideas for RFC and code improvement are welcome. > I think this can still be done post RFC, but I am still very keen on solving the tracing issue with a new unified API that: - avoids zend_execute overwrites (to keep a stackless VM) - works with VM and JIT - works with internal and userland functions - maybe allows some control for extension developers to run only on a selective number of calls (this can be implemented with AST processor and internal function handler overwrites). - has access to arguments and return value And an API in either reflection or opcache to find out which functions/methods are jitted would also be helpful. Testing with the jit branch currently its very hard to verify that it actually works without turning debug output on. > > Thanks. Dmitry. > > > > On 1/31/19 12:43 PM, Dmitry Stogov wrote: > > Hi Internals, > > > > > > I'm glad to finally propose including JIT into PHP. > > > > > > https://wiki.php.net/rfc/jit > > > > > > In the current state it may be included both into PHP-8, where we are > going to continue active improvement, and into PHP-7.4, as an experimental > feature. > > > > > > Thanks. Dmitry. > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --00000000000050bebd0584237b6e--