Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121086 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33990 invoked from network); 18 Sep 2023 06:36:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Sep 2023 06:36:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 479E718005B for ; Sun, 17 Sep 2023 23:36:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 17 Sep 2023 23:36:30 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-5009d4a4897so6781884e87.0 for ; Sun, 17 Sep 2023 23:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695018989; x=1695623789; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p5mPBr5Ayd2WvejpLgEoLk/ee6aoalmcmzxHZlJ7jUI=; b=W7y+wxOgKdLyD6uY38vGvoBn6lKSw3sE47R60gzwN6GftduFc8Ljbr0dGJ3Aq7+Qc/ Yw6krJVilhI8/kyvYUqsjLLDVMu84+OKYJMx1ZF4NnPRoqvFh9SFyR9TPE9h8BjDJPll E5BONJ72kJk4UDLaMhTLzCnsJTLDCweqSWj9uwJ4iKrNxOWuwu/0ot69q3Ly/rs3evlo sxVPUC8x9CEC5p8fhdsVmWsD6Zrm28LU8xErqHtdOLCJ99WIEVt5w1lIRu63JeYSFUiv ogPfveeb0A63T9UyIspJQuf322k5Yc1sqI8K1dZNcHcd6/8GN4l6l0pkLlVTqVgekQ99 dQcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695018989; x=1695623789; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p5mPBr5Ayd2WvejpLgEoLk/ee6aoalmcmzxHZlJ7jUI=; b=UQSWDkL15439N4AY1wy9K98zLguudgRvzVxYW4SOZ2envvoKbBh6MkNHE6p0FPtcFQ JngkA7qZVeJnnpSkF1b4ZvSkppQ3zg+y9Wzwkx/pX5UVpE0lQLlJcEbbH8MZhb8Y17bc 21Ex0+VFG3KsueJDcVi/F7DDfkzDIEu8WzBZVV/HBPF3ZZl/x9puvOXSm7OUUGbNgOgL 7lgENoBtqIWsjUyK123uG8HUccOkMd9G8v64Y3Zx8QCJtav/3e6iaJKrEpo/ETo82fN7 6X8qjRoHbEGvOxyHAgCHwtc5abKm9bs1h8l0Ly8gIkkdJzPbAgpGcUtWZwMJ0OXH9+kq PWwA== X-Gm-Message-State: AOJu0Yz//hHCNync2tcmL9/SaFS73YvSEe/JgVzpvf9XQ2gwp4oW7mnq ZmhsH2SicG90CGQhXnxoA7C/lGDwh/dN+8mR42XxEGVE X-Google-Smtp-Source: AGHT+IFFpCXEfYL7E+o5yk9TFN0EbGRU6MsQgjG4njKOaz3h5PhziZ8oVOEak4GiuvKq/DXJYJj5t6GNmgRQyWWfU/M= X-Received: by 2002:a05:6512:962:b0:4fb:90c6:c31a with SMTP id v2-20020a056512096200b004fb90c6c31amr6813431lft.14.1695018988837; Sun, 17 Sep 2023 23:36:28 -0700 (PDT) MIME-Version: 1.0 References: <8b9a1aae-5aec-91a8-5377-27f6f53581cd@php.net> <65047d5b.810a0220.1c748.455bSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <65047d5b.810a0220.1c748.455bSMTPIN_ADDED_MISSING@mx.google.com> Date: Mon, 18 Sep 2023 09:36:17 +0300 Message-ID: To: Ben Ramsey Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000b7a20d06059c5c0d" Subject: Re: [PHP-DEV] A new JIT engine for PHP-8.4/9 From: dmitrystogov@gmail.com (Dmitry Stogov) --000000000000b7a20d06059c5c0d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ben, On Fri, Sep 15, 2023 at 6:50=E2=80=AFPM Ben Ramsey wrote: > On 9/15/23 09:35, Derick Rethans wrote: > > > I understand that working on an RFC for such a complex issue is going t= o > > take time, but that also gives to opportunity to pair with somebody, > > who, while writing it, will also learn how it works. That would also > > ready improve the debugging/contributing issues. > > +1, this needs an RFC, if only to help articulate and explain how it > works, as Derick says. I'd love to volunteer to help with the RFC, but > I'm already stretched thin, as it is. > As I said, I'm going to publish a presentation (in October). I'm not sure if we should have an RFC that will repeat it. Anyway, if you like to understand how PHP-JIT-IR works and explain this to others, I would appreciate this. I'm ready to answer any questions. > A few things I noted while looking through the code in the IR repository.= .. > > It looks like the goal of the project is for IR to provide JIT > compilation for other projects. Do you already have some idea where > (other than php-src) it will be used? Is it already being used elsewhere? > Pierre thinks about WASM backend. I like to write a C front-end and something similar to Truffle. > IR is currently on your personal GitHub account, but the copyright > listed on the license is for "Zend by Perforce," while other source > files (e.g., ir_cpuinfo.c) list "IR project" as the copyright holder. I > assume this is because you (Dmitry) have been working on this on Zend's > time, while other contributors have been working on it independently. > Who is the ultimate owner/controller of the project? If it's a Zend by > Perforce project, what's their goal for it? (I'm not asking because I > think there are hidden agendas; I'm just curious what the plans are for > long-ish term support of IR.) > > Noted that the license on IR is MIT. Love it! > The IR project was developed under the "Zend by Perforce" umbrella. It paid for development, it has the copyright, but we choose the most permissive license. The main goal is the improvement of PHP, but we also like to involve non-PHP experts. Thanks. Dmitry. --000000000000b7a20d06059c5c0d--