Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Jakub Zelenka
On Tue 18. 2. 2025 at 11:21, Jordi Boggiano wrote: > Hey, > > Kévin Dunglas and myself would like to present this RFC proposing > inclusion of the zstandard and brotli pecl extensions into core, It would be really good to get some thoughts of the author of these extensions (kjdev) because that’

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Benjamin Außenhofer
Am 18.02.2025, 11:19:26 schrieb Jordi Boggiano : > Hey, > > Kévin Dunglas and myself would like to present this RFC proposing > inclusion of the zstandard and brotli pecl extensions into core, with > the main goal of making them more broadly available. > > https://wiki.php.net/rfc/modern_compressi

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Ben Ramsey
On Feb 18, 2025, at 08:43, Kévin Dunglas wrote:Hi there,Here is an alternative proposal we just discussed with Jordi:First, reduce the scope of our RFC to simply add new stream wrappers for Zstandard and Brotli similar to those already provided for zlib: https://www.php.net/manual/en/wrappers.com

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Ayesh Karunaratne
> First, reduce the scope of our RFC to simply add new stream wrappers for > Zstandard and Brotli similar to those already provided for zlib: > https://www.php.net/manual/en/wrappers.compression.php > To keep things moving quickly, we won't be adding any new functions or > classes (perhaps just

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Kévin Dunglas
Hi there, Here is an alternative proposal we just discussed with Jordi: First, reduce the scope of our RFC to simply add new stream wrappers for Zstandard and Brotli similar to those already provided for zlib: https://www.php.net/manual/en/wrappers.compression.php PECL extensions for Brotli and

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Tim Düsterhus
Hi Am 2025-02-18 14:22, schrieb Paul Dragoonis: Having spent many years in PHP-FIG and lots of effort trying to build one "standard" for lots of implementations that differ. I just want to point out that I think we should avoid trying to make a standard design for all the Compression drivers a

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Paul Dragoonis
Hey, On Tue, 18 Feb 2025, 13:04 Tim Düsterhus, wrote: > Hi > > Am 2025-02-18 13:46, schrieb Jordi Boggiano: > >> My question is: Why? Please also have a look at: > >> > https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#namespaces. > > >> Instead of creating a top-level na

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Tim Düsterhus
Hi Am 2025-02-18 13:46, schrieb Jordi Boggiano: My question is: Why? Please also have a look at: https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#namespaces. Instead of creating a top-level namespace for both Brotli and Zstd it would probably make sense to create a new

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Jordi Boggiano
Hey Tim, On 18.02.2025 12:30, Tim Düsterhus wrote: My question is: Why? Please also have a look at: https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#namespaces. Instead of creating a top-level namespace for both Brotli and Zstd it would probably make sense to create a

Re: [PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Tim Düsterhus
Hi Am 2025-02-18 11:19, schrieb Jordi Boggiano: Thanks for your consideration, we're looking forward to hearing your feedback! The RFC specifies that: The zstd implementation includes a few global functions as well as namespaced ones My question is: Why? Please also have a look at: https

[PHP-DEV] [RFC] Modern Compression (zstd, brotli)

2025-02-18 Thread Jordi Boggiano
Hey, Kévin Dunglas and myself would like to present this RFC proposing inclusion of the zstandard and brotli pecl extensions into core, with the main goal of making them more broadly available. https://wiki.php.net/rfc/modern_compression Thanks for your consideration, we're looking forward t