Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117132 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25227 invoked from network); 24 Feb 2022 07:27:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 24 Feb 2022 07:27:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 59657180507 for ; Thu, 24 Feb 2022 00:47:51 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 24 Feb 2022 00:47:50 -0800 (PST) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-2d641c31776so16453007b3.12 for ; Thu, 24 Feb 2022 00:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=colopl.co.jp; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zgBKIPl2VMGqKIrNQdZdc1fr5Gx4jkHCEKZyKKe1t7o=; b=Rj0XTNGdF5RjJDTUFUJNRlaLNSvKABx28X2RISbWqUyd0+aOrSsFBaOM+35N+YDYfX HsMEBv5dsQvkTO9CnRgT1+XNyQn/ZZgJY1LSEJLePZ2DZ4NY//NPaDRAgj4dcFne4Fwa 9295lzA1mIuvzVzEV906gOB8nFGy9nvK4nmgF07+fTYcXTFmfIpvzpa9TNbmEs/yr7uH n6rIGJSwOqge7ykDgYsQAx1Ttf/spC2rGYqXZ1vpm6w2PMVileIqtMTBlFUa83CuN4xb DQvLERWDQQ/mHDHvSnKGvcHUZesBjUM/u/+LiYuKepSYZyyCzFKlY34rScpIkX4xzwlk T/ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zgBKIPl2VMGqKIrNQdZdc1fr5Gx4jkHCEKZyKKe1t7o=; b=gdAzFqbzprl7P/wscbIfIrACruE1Zm7CpYXSgaSom5Kl+TaLGiql4++LMOjEsZ4PK4 Lf5jFPqYBpGVujw4+rQG3rqrZcrvu/8QZrAUMdWGbx5GyjCj55P924NIBnsRkcynymmx UXfcOA/VIFe1bGaEQJip6ROoXT+S5RaZAYdpK4kFLEmS9NJwayK3PwfOJc5199gSxQo+ VoglB1sGEjSL6/dhJt9qxuHvwnZB1xl9wnVQt5oVFePvYKtOAXjmWrbTqB6FYvCS5Bwr SI2wcicgnKQmosJso5Cb2ooGWZa03uGB9MFs5W3NX9PkFDsk/hutr+mF4tWkPAqJJPro CIWA== X-Gm-Message-State: AOAM532lf5qF6z1aKgUcImDa+fFsuuMPEGUkcK6BXMDoazxOEbfhLHu1 erdqY+sSLYksLbTgPObLpc+dY4F8/Tvym2mpqXrO X-Google-Smtp-Source: ABdhPJztKOYb8QLO2WlV4zkN4vva6xVCDmH8ilG4P5yssxssaJa5WzJodaEqiAzhqdcgXxaPwGxjSqU6j5eK11ltWv4= X-Received: by 2002:a81:f0c:0:b0:2d6:83ab:7605 with SMTP id 12-20020a810f0c000000b002d683ab7605mr1399324ywp.150.1645692470183; Thu, 24 Feb 2022 00:47:50 -0800 (PST) MIME-Version: 1.0 References: <553ba7ca-3821-c2d9-f88f-b216013a887b@bastelstu.be> <2c667812-88c8-0b7b-3558-561a1348d0b2@bastelstu.be> <5f496cf9-8754-b009-9cb5-b978222b2249@bastelstu.be> <26a8c3ee-9f0a-793c-10c0-7e642eedf1d0@bastelstu.be> <47cb96f5-4450-0377-dc95-67faac3fef33@bastelstu.be> In-Reply-To: <47cb96f5-4450-0377-dc95-67faac3fef33@bastelstu.be> Date: Thu, 24 Feb 2022 17:47:39 +0900 Message-ID: To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000018619305d8bfa348" Subject: Re: [PHP-DEV] [RFC] [Under Discussion] Random Extension 4.0 From: g-kudo@colopl.co.jp (Go Kudo) --00000000000018619305d8bfa348 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2022=E5=B9=B42=E6=9C=8821=E6=97=A5(=E6=9C=88) 21:44 Tim D=C3=BCsterhus : > Hi > > On 2/21/22 03:57, Go Kudo wrote: > > I am sorry for the delay in replying. > > Don't worry, there was a weekend inbetween and I totally understand that > one wants to take their weekend off. > > > Thank you for the clear explanation. > > It is true that the RFC in its current form lacks explanation. I'll try > to > > fix this first. > > Sounds good. > > > Also, as I look into other languages' implementations, I see the need t= o > > add some RNGs such as PCG. I will update the RFC to include these. > > I suggest you avoid "feature creep" within the RFC. Additional engines > can be added easily later on if the need arises. But for now it's more > important to get a reliable basis that one can build onto. > > Having a choice of a multitude of different engine just distracts from > that goal and can be confusing for the user. With xoshiro256** there's a > very good choice that already is part of the RFC, no need to have > something else that might or might not be slightly better in some case. > > Best regards > Tim D=C3=BCsterhus > Hi RFC has been updated. Is this up to the required standard? https://wiki.php.net/rfc/rng_extension I acknowledge that the previous RFC may have been difficult to discuss. If the problem has been solved, I would like to make another ML-wide announcement and wait for two weeks from there. I added PCG64 because according to the RNG experts, there seems to be a mild conflict between Xorshiro256 and PCG64. Also, as mentioned in the RFC, Rust and NumPy also implement PCG64. In order to verify the feasibility of PCG64, we created a PoC in C. So far, it seems to work fine. https://github.com/zeriyoshi/pcg64_example Regards, Go Kudo --00000000000018619305d8bfa348--