Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104417 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 30280 invoked from network); 14 Feb 2019 19:21:38 -0000 Received: from unknown (HELO tbjjbihbhebb.turbo-smtp.net) (199.187.174.11) by pb1.pair.com with SMTP; 14 Feb 2019 19:21:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.net; s=turbo-smtp; x=1550765103; h=DomainKey-Signature:Received: Received:MIME-Version:References:In-Reply-To:From:Date: Message-ID:Subject:To:Cc:Content-Type; bh=e3Uhu34cbmuUO0zMbwAJWF molnS+O8NZtV6seUNgKE0=; b=VUoKxAViuqDnEXTjt57UEnkWJfgXsDLS2v1scK G1CgO4Oz+7JoNom4IUBIHh2ryzb0Lqg5VIjyXMETwLgfO9rDTbR6BLN+RUdiqZkY d+3Q4P+0KTJR296XEFz3MjqpbWCrf2cD4hOz2WcEQH+ry9lzuz0DR6qTaLy1OfWw aCIYg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=turbo-smtp; d=php.net; h=Received:Received:X-TurboSMTP-Tracking:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version:References:In-Reply-To:From:Date:X-Gmail-Original-Message-Id:Message-ID:Subject:To:Cc:Content-Type; b=VKTouBR6NkgBEgUT+udvcgcMxHaXbJbvfd0HxfxnEDHM5D+neQsigCfWXAM90o G4k/BWTCrvMBHbQOnDgygO1zCjbG9DovXIsfmuNAlrXHKr/koXu/EWKxok3nQz80 iF6UG+wa3yul75Zstv8quEjdD1svpHqUtqtAqMZNtXRH8=; Received: (qmail 2574 invoked from network); 14 Feb 2019 16:05:02 -0000 Received: X-TurboSMTP-Tracking: 4853122970 X-Gm-Message-State: AHQUAubVd+haZoiDU0bz/ZJwpkimk3hKPsKgwyaahmBPpREwbQ9IBnkL c0mpknZXqDM4uFxu6K2RJC+hf/zOjddrk7lNbdQ= X-Google-Smtp-Source: AHgI3IY8x3gy7DPBYGqGzHyhtkm1LjdeQG2YCRduWeT6K9eMgs0k3PQ8+VDljCBTfmons/tbUFN/6j6gEo0yXVJs6J4= X-Received: by 2002:a37:a114:: with SMTP id k20mr3216536qke.274.1550160302209; Thu, 14 Feb 2019 08:05:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 14 Feb 2019 18:04:51 +0200 X-Gmail-Original-Message-Id: Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000287f440581dcd210" Subject: Re: [PHP-DEV] Re: ZTS improvement idea From: zeev@php.net (Zeev Suraski) --000000000000287f440581dcd210 Content-Type: text/plain; charset="UTF-8" On Thu, Feb 14, 2019 at 5:59 PM Rowan Collins wrote: > All that being said, it would be nice if ZTS became more mainstream, so > more people had access to userland threading / parallel processing > extensions. I think the most promising parallel processing paradigms today are based on asynchronous IO and not threading. That's generally the direction the world is going in (Node.js / Swoole / etc.) Threading (ZTS) actually comes at a fairly high cost, primarily in terms of performance but also in terms of some implementation complexity, and has few advantages over async IO. Zeev --000000000000287f440581dcd210--