[PHP-DEV] Improving PRNG implementation.

2020-12-16 Thread zeriyoshi
ot be handled as an object like other languages (e.g. Java). So, I created a PHP Extension and proposed it to PECL. https://marc.info/?l=pecl-dev&m=160795415604102&w=2 https://github.com/zeriyoshi/php-ext-orng But, Then I looked at the mailing list archives and noticed that a similar proposal

Re: [PHP-DEV] Improving PRNG implementation.

2020-12-16 Thread zeriyoshi
On Wed, Dec 16, 2020 at 4:56 PM Sara Golemon wrote: > Welcome! I'm about to knock down your suggestion a little, but please take it as constructive feedback. OK, You're welcome. And sorry for replying directly to you by mistake. > Can you clarify what object handling provides? Is the intent to

[PHP-DEV] Re: Improving PRNG implementation.

2020-12-18 Thread zeriyoshi
On Wed, Dec 16, 2020 at 8:46 AM zeriyoshi wrote: Hello. I have created an account on the PHP.net wiki to create an RFC about this. Can you grant me editing privileges? As for suggestion two, I sent a PR to php-src on GitHub. https://github.com/php/php-src/pull/6520 Fortunately, Nikita seems

[PHP-DEV] Re: Improving PRNG implementation.

2020-12-19 Thread zeriyoshi
12.2020 at 07:33, zeriyoshi wrote: > > > On Wed, Dec 16, 2020 at 8:46 AM zeriyoshi wrote: > > > > I have created an account on the PHP.net wiki to create an RFC about > this. > > Can you grant me editing privileges? > > RFC karma granted. Best of luck with the RFC! :) > > Christoph >

Re: [PHP-DEV] Re: Improving PRNG implementation.

2020-12-22 Thread zeriyoshi
unpredictable. Swoole extension is also a concern, although I am not familiar with this. Regards, Go Kudo 2020年12月20日(日) 23:09 Max Semenik : > On Sun, Dec 20, 2020 at 6:45 AM zeriyoshi wrote: > >> Thanks cmb. I have created a first draft of an RFC. I think I've covered >> al

Re: [PHP-DEV] Re: Improving PRNG implementation.

2020-12-23 Thread zeriyoshi
Thanks tyson. > This would also make it easier to use those generators in brand new algorithms that weren't in the initial RFC. > (or in algorithms written by users in PHP) This suggestion seems to make sense. Maybe the RNG should only focus on generating random numbers and not anything else. How

[PHP-DEV] Re: Improving PRNG implementation.

2020-12-24 Thread zeriyoshi
tions. I am seeking feedback on this proposal in order to take the RFC to the next step. Thank you in advance. Regards, Go Kudo 2020年12月16日(水) 23:46 zeriyoshi : > Nice to meet you, internals. > > PHP 8.0 has been released. With the inclusion of JIT, PHP is about to be > extend