Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102092 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34421 invoked from network); 7 May 2018 15:00:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2018 15:00:58 -0000 Authentication-Results: pb1.pair.com header.from=jgmdev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jgmdev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.181 as permitted sender) X-PHP-List-Original-Sender: jgmdev@gmail.com X-Host-Fingerprint: 209.85.161.181 mail-yw0-f181.google.com Received: from [209.85.161.181] ([209.85.161.181:33594] helo=mail-yw0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/B1-24581-82A60FA5 for ; Mon, 07 May 2018 11:00:57 -0400 Received: by mail-yw0-f181.google.com with SMTP id g16-v6so8688469ywk.0 for ; Mon, 07 May 2018 08:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ZMp2/wGmUGbP82U2xr2n8zajCbWeu17bxy9FkqBqpkE=; b=X8NVsDxGMffkDn3VX5Cpu1dVoE/pKrA8PAwWc2tdCyhNGNETMQygFrDGQIkC0+T/G6 gw9qDBq0smMNpwrMb9kjsA4+UWCIi5fERx5VX6fzxo1kwH0JJJa8eWtFqPEH4ISHy3ca zAIuMWw3735XCVpC5783B3j7rjShGWtqiDaFB2bThbRRB+YqdOTihwIi8987o2qQq0w1 fXK5X/OXMaVZAQTG4OIqEJzg1GjGvHiWXmfCmp3gRmPlb+4nNu8ZbLvNz/mXRnxQU47Y q8Nig7aRZI2QCYvetMqgAKB8arEawIeOfVE5znSUyerb5NB4ydnGcnE6YM4BvdtXHAjI JhKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZMp2/wGmUGbP82U2xr2n8zajCbWeu17bxy9FkqBqpkE=; b=qWtaCU6LpONbQtn2DSQsJC9pfXexK572/GGEHIv2LxC+FZq9/erva9NGROsmfy5SOs IsHb8PeHIpMHwyGfd1NJOqkW6KQVybSh1WNG9GROoSbYirOUXNX0DDdCyw3xoDYxL9SP vs+FXSYR0DkVYCdffxU7nOMR/al1sYMdyNT95qk4nvP4MJNz/oJ73OOLlUIBDxhftaCG xpkLwpDhPwl6WGkRpcosJPjiu1zxtkfYFWVIuoL22NFywHmpxDldylGQ5XPvPHQKhHL7 iCq5zL+F4l8+qmPjPAVWCcxQrtHQAOKyUZi0S2fOMCKnJxAwI6C2Ccif5jaj2FDpqRtr 8rGg== X-Gm-Message-State: ALQs6tC1Ss7HeUT0fNN0KSJo93oaBypK1+T/jC3w/JNGXf+rcu99tpbw lMSdyNWg3wk5rCtDqdMhmenHsA8M X-Google-Smtp-Source: AB8JxZqSUqG5JaVTlkSZraM1Q4xb14aniOT9Hxlxm8NYW8ZXphNN2sVyL5VOXUL4NjSTbUnKkyzG0Q== X-Received: by 2002:a81:9fcd:: with SMTP id w196-v6mr20297021ywg.244.1525705253475; Mon, 07 May 2018 08:00:53 -0700 (PDT) Received: from [192.168.1.121] (cvx-ppp-66-50-50-31.coqui.net. [66.50.50.31]) by smtp.gmail.com with ESMTPSA id n80-v6sm10778099ywn.17.2018.05.07.08.00.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 08:00:52 -0700 (PDT) To: Haitao Lv , PHP Internals References: <76EBF900-3BE8-4B60-9422-880A9754FCC4@lvht.net> Message-ID: <40579916-f96b-f34b-0a17-7397d12f0d63@gmail.com> Date: Mon, 7 May 2018 11:00:50 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <76EBF900-3BE8-4B60-9422-880A9754FCC4@lvht.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [RFC] Fiber support (again) From: jgmdev@gmail.com (Jefferson Gonzalez) I'm just sneaking into the subject to point out that theres already some work on this with the PHP swoole extension, in case it hasn't been looked/taked into consideration yet: https://github.com/swoole/swoole-src#coroutine https://github.com/swoole/swoole-src#short-api-name It has great performance and the event based http server demonstrates how well it performs. Great to see stuff like this could be shipped as part of the core which transcend PHP uses.