Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123971 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id D2C7A1A009C for ; Thu, 27 Jun 2024 21:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719524579; bh=f3tFUMcRUoIZsZ2HboKEu/94rcj2M/QiWB3pzUc81Mc=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=KKBmviGLqiwUmik2YKdmqrGhEKx6/NErdi4LMabr4c1zKjCUEUu5nCuJijZlC9Su0 XmiBp/1x7umxmKtYSY7EjX5bCZZyliVn8FPboBlXaKYRiKZS1y/O7sqfIraysIr+m9 33U0T1Sh36M35RHmdNrY9DE++hGd5In9oWHVKOhNMXeRA3Qrd1TKbOafSWcFY/PTY+ FDMtFySQDPzGOC6y6S5NeNNdaNuI/p6nfP69Ktp2iO33yogbRhPYFVshALsjciBund dPris6UUy9rsY7v1ilqIM7CH7rpvT1Je6T231TYshheolnUrjGX1luNCrGmbfXCucF roDZ4FN9ndp4Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 15080181311 for ; Thu, 27 Jun 2024 21:42:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fhigh1-smtp.messagingengine.com (fhigh1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 27 Jun 2024 21:42:58 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id D089211400A3; Thu, 27 Jun 2024 17:41:39 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute7.internal (MEProxy); Thu, 27 Jun 2024 17:41:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= trainedmonkey.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1719524499; x=1719610899; bh=f3tFUMcRUoIZsZ2HboKEu/94rcj2M/QiWB3pzUc81Mc=; b= rHG48FK1yNG4QwfyBwv9i1uogV4YnxltOWt23kLQBKIST3pMKBpHNhCciQfIjU/A fSbPIHh77m18WkJnfrZSAPkKz4P1XBXcD3fqJ6fDVhko0HBTBwoNMeE/7svH1tFb nQxDVotbsOvbloIRr0GVO5WXXxZYZ9mSbyHDnIcevVE/W1LK22DqcNYZFqCjZXGd fdUF3eJNURePY/UGxArv9jUxw5DV9oQEwphSOBghqCdXg7NEEUFtvvrnj4OBVA9K qgDkbRplgfZLZ7vQgmPI8o+fhkgKfNq1X9ZOg06Y/zilLH8MeXES7fTt9HQLKCAR /NVEDHyvhLdU7iwjsiDikw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1719524499; x=1719610899; bh=f3tFUMcRUoIZsZ2HboKEu/94rcj2 M/QiWB3pzUc81Mc=; b=qrNsO5t5VQ1xWUtwcSfjVbsY/pYDHkUlZLK3b5Uy8n1c b5kHW0RlTnktZIjmSgNxgOp3adrDLXlUKLt/QkM/VBwf0UQ1sEezIN72YldE4Euz 4W8Hbm6YvZ72HWFULmIpOtgZ7GXlkDVtaUPnZFERn3dXmrSkYvN5JwBPoMgvbEm1 SGU5FaU303DVGbKahcECy4fTOd69btP0Vwgt0HJ123dz0WUr6xr0EBouKOu2Bgsr jHNnhydnRO7C01XBjPHXZZDHE4jssvcFWn9FeOZSgiO8g4g+DCHGXjlInG6eKOvH cnxGCLYraFZ6rRL9a0KG8qvhl+ro/vvtKp0Lkp6MxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrtdehgddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesrgdtreerreerjeenucfhrhhomhepfdflihhm ucghihhnshhtvggrugdfuceojhhimhifsehtrhgrihhnvggumhhonhhkvgihrdgtohhmqe enucggtffrrghtthgvrhhnpeejhfevgeeutedujeekhfekgfevueeuffehtdffteehjeet gefhudfhkeffjeevgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjihhmfiesthhrrghinhgvughmohhnkhgvhidrtghomh X-ME-Proxy: Feedback-ID: ia2404087:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6CC97A60078; Thu, 27 Jun 2024 17:41:39 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-538-g1508afaa2-fm-20240616.001-g1508afaa Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: <9c20b078-f82a-47fe-af23-2f3cdd233079@app.fastmail.com> In-Reply-To: References: <0acedb8e-34be-4348-907b-4075cf7641fd@app.fastmail.com> Date: Thu, 27 Jun 2024 14:41:19 -0700 To: "Jordan LeDoux" Cc: internals@lists.php.net Subject: Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript Content-Type: multipart/alternative; boundary=c540897cbc364699b09755393db23146 From: jimw@trainedmonkey.com ("Jim Winstead") --c540897cbc364699b09755393db23146 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Jun 27, 2024, at 2:14 PM, Jordan LeDoux wrote: > On Thu, Jun 27, 2024 at 12:53=E2=80=AFPM Jim Winstead wrote: >> __ >> On Wed, Jun 26, 2024, at 7:15 PM, Michael Morris wrote: >>> PHP User Modules are php files that are brought into the runtime thr= ough a new parser that is able to generate faster and more concise runti= me code by removing support for problematic features and imposing a stri= ct mode by default. They focus on PHP as a language and not as a templat= e engine. >>=20 >> I think the problem I have with this proposal is calling these "PHP U= ser Modules". Here's an admittedly uncharitable rephrase of this: >>=20 >> "NewLanguage User Modules are NewLanguage files that are brought into= the PHP runtime through a new parser that may theoretically be able to = generate faster and more concise runtime code by implementing a differen= t language based on much of the syntax from PHP. This new language does = not prioritize its use as a template language for HTML." >=20 > Do you feel that Phar is a separate language? Is PHP no longer PHP if = the @ error suppression is removed? I'm really unclear about the point y= ou are making here, even if I ignore the "uncharitable" rephrase. If I read through the 11 bullet points under "User Module Files" in the = original proposal, I see two that are actually related to modules and mo= st of them are just lopping off features from the PHP language in ways b= oth small (no need for ', and '\'). The angle I am coming at this from is improving the developer experience= around "packages" or "modules" or whatever you want to call them, and s= o much of this proposal doesn't seem to be about that. I could have made that point in other ways, and I'm sorry that my first = attempt came off as insulting. It really concerned me when I already saw= discussion about taking this off-list and going into the weeds on techn= ical details when the problem that is being addressed by this proposal i= s extremely unclear to me. Jim --c540897cbc364699b09755393db23146 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Thu, Jun 27, 2024, at 2:14 PM, Jordan LeDoux wrote= :
On Thu, Jun 27, 2024 at 12:53=E2=80=AFPM Jim Winstead <jimw@trainedmonkey.com> wrote:
<= /div>

On Wed, Jun 26, 2024, at 7:15 PM, Mic= hael Morris wrote:
PHP User Modules are php files tha= t are brought into the runtime through a new parser that is able to gene= rate faster and more concise runtime code by removing support for proble= matic features and imposing a strict mode by default. They focus on PHP = as a language and not as a template engine.
=

I think the problem I have with this proposal is calling these "PH= P User Modules". Here's an admittedly uncharitable rephrase of this:
=

"NewLanguage User Modules are NewLanguage files that are bro= ught into the PHP runtime through a new parser that may theoretically be= able to generate faster and more concise runtime code by implementing a= different language based on much of the syntax from PHP. This new langu= age does not prioritize its use as a template language for HTML."

Do you feel that Phar is= a separate language? Is PHP no longer PHP if the @ error suppression is= removed? I'm really unclear about the point you are making here, even i= f I ignore the "uncharitable" rephrase.

If I read through the 11 bullet points under "User Module Files"= in the original proposal, I see two that are actually related to module= s and most of them are just lopping off features from the PHP language i= n ways both small (no need for <?php) and huge (changing the scoping = operator to '.' instead of '::', '->', and '\').

The ang= le I am coming at this from is improving the developer experience around= "packages" or "modules" or whatever you want to call them, and so much = of this proposal doesn't seem to be about that.

I could h= ave made that point in other ways, and I'm sorry that my first attempt c= ame off as insulting. It really concerned me when I already saw discussi= on about taking this off-list and going into the weeds on technical deta= ils when the problem that is being addressed by this proposal is extreme= ly unclear to me.

<= div style=3D"font-family:Arial;">Jim
--c540897cbc364699b09755393db23146--