Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126402 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 B4EB41A00BC for ; Fri, 14 Feb 2025 11:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1739531991; bh=9dqM4/rTusvWuQ9g1z/yyCwhXLnw3+mG/Wqo2P8yS5A=; h=From:Date:Subject:To:From; b=eE41GVNUE+biaCaUPIabgKoeaVC5TU9Rte5ny0Q5hHIGYXXq6OkBucAfdc1+dGPKB tDE+Sr3mWBpn7DPgoSzkALchr28kPVzxQMXJRLMX1Ozu/FkbL2N49DVf5LQX/NXDoC h2YR4cprcwXBZFY8ZEYnenOoERWWE67ZHtEO0FEKW0FfQzMXa1mBa/pFd9p0vjORjt tel/BazyT+btYXANOvtiXDUo8f8RCO7DzumYlZLLOyqKooGG5Eycs0xEdXotXgd5Hc nwRCPwEDO0wDa9GnkkZW/hGrVZK4YsW5puBmkxf4rABK0Krh9CLjzN2f43iLMT3Qba T0FanwTq6M0Ow== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9975A180081 for ; Fri, 14 Feb 2025 11:19:50 +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=-1.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (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 ; Fri, 14 Feb 2025 11:19:50 +0000 (UTC) Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e549be93d5eso2146755276.1 for ; Fri, 14 Feb 2025 03:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739532152; x=1740136952; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Tp1JqVvMUfRdLtMmG+NViYoR2h4oDDoeTAbKaqpE8kc=; b=DzGRYt4/9W5uki+E+8084cx5fYLmd1Vq+cSsZIe4he7yGvxI48vsDGkTzFz/nJAAVb BY/7UimtpjLKZppn4W2Ve8hGgcgLxDaYsZfQqWnW2+306/PPBoPrXbBWmg6/5tUlGE5d WnHcN4bLAhiWgjSzSDKXJsSKfImfpJj6Np3H3EjwuDcYZTqn4R35ek+TW47fFYjqwR78 v5l3nwImQXhUAGruSU8qoVO30k3OzJ24kVJpZL2OG0NsUGRBftJsD19jNZeIwhVBlGLT DGj0yKbKQQbUvLuFO4kGOLEV3bb0BpiVB/V90tIDz9BPsXbR9vKE0qWeE/ESeDMDYook LRhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739532152; x=1740136952; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Tp1JqVvMUfRdLtMmG+NViYoR2h4oDDoeTAbKaqpE8kc=; b=a+CkJg/v12uLmb9BU+WLK4ayYV953NwfhwoS8YizzI2bJI1cT5WkPnGC4pmMaHscWR flxANPncsHVJ2LjSbZwmyx75ZyjOCc9azLiDtv/iL7VODASNwpQxFxTZhINXrMlucrld 1qq6GtLWpzzjSci9bmb6yh12TcZwiX8QAbrGbvJawGgC/na0t9aICPhR5qCU8mgGhtKe uSu1iwE+AKheI7wF9wWSZF7RyR9FW2CJNsnSf+UMTv1UBmAzaRY6avu1PuH1PX5+rP10 INcHvADsqkjWSCMc6oSb0Wy4w3BnYmbNY2m8Ixvmntu3Q1FYYxZhUC+q4/Xm8KX0rd7k F8yA== X-Gm-Message-State: AOJu0YxxsH25ZZGBWZ0gUju+3L7vk9tXU2jp2T+e2aA7HPN8sY6bUxR5 P3EJe7zJL2NhwrXtsCO93WkKaXh5h+aq9bviG3kAXshuS92pSejwsk4Mo+dSjA/8gfCwVGel0zi kmTTmZ5gz4L/QbWCvfXRIdjLAeKveCDJEb1c= X-Gm-Gg: ASbGncskRvobF8ZNdx5t120VKdEtQBKef/gomnwBeq/z6x2a/uSkgEb6pj5B/vuctGR FiYfiYcf5+sYjhkt8/ZJyOsF4azo2V4kwqrbkOOZ3BZIKHCsBlr0MqTirePpzzfDJM/hcg4nj X-Google-Smtp-Source: AGHT+IED0KaUSswFsvyNu9CxTfNmZv4EpCFFpHYNO31d3GW0RBF6CWZ9YQDQWPXBk2/ZzQocxtnR6WBeuqPwdBbvfYs= X-Received: by 2002:a05:6902:2b86:b0:e5b:257e:c394 with SMTP id 3f1490d57ef6-e5da81019b7mr7075624276.3.1739532152336; Fri, 14 Feb 2025 03:22:32 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 14 Feb 2025 13:22:21 +0200 X-Gm-Features: AWEUYZnZObBOrw9TVMuRWu6sQMJgLPib8pTDEuo4tjoCOpfd22Y_jhz0h5bepJQ Message-ID: Subject: [PHP-DEV] PHP True Async To: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000003f6c1062e186418" From: edmond.ht@gmail.com (Edmond Dantes) --00000000000003f6c1062e186418 Content-Type: text/plain; charset="UTF-8" Good day, everyone. I would like to request permission to create an RFC dedicated to the asynchronous module for PHP. Although the source code development is still in progress, a significant part of it has already been written, and the initial tests are working successfully. Therefore, I could start the documentation process if you consider this topic relevant and interesting for the community. A brief overview of what this RFC will cover: 1. *True* asynchronous support for PHP core functions without additional "tricks." 2. *Scheduler* and *Reactor* components, providing a C-API for PHP extensions to enable non-blocking I/O in plugins or core code. 3. *User-Land API* that mirrors the C-API for PHP developers. 4. Basic primitives for concurrent programming, such as *Channel* and *Iterator*. 5. *Built-in* integration with the *LibUV* library. The library is based on *Fiber*, extending and enhancing it to provide PHP developers with a full set of tools for concurrent applications. Have a great day! Edmond --00000000000003f6c1062e186418 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Good day, everyone.

I would like to request permi= ssion to create an RFC dedicated to the asynchronous module for PHP.

= Although the source code development is still in progress, a significant pa= rt of it has already been written, and the initial tests are working succes= sfully. Therefore, I could start the documentation process if you consider = this topic relevant and interesting for the community.

A brief overv= iew of what this RFC will cover:

  1. True asynchro= nous support for PHP core functions without additional "tricks."<= /li>
  2. Scheduler and Reactor components,= providing a C-API for PHP extensions to enable non-blocking I/O in plugins= or core code.
  3. User-Land API that mirrors the C-AP= I for PHP developers.
  4. Basic primitives for concurrent programming, = such as Channel and Iterator.
  5. Built-in integration with the LibUV library.=

The library is based on Fiber, extending and = enhancing it to provide PHP developers with a full set of tools for concurr= ent applications.

Have a great day!

Edmond

--00000000000003f6c1062e186418--