Re: Why there is no StreamWrapper interface ?
| From: | Larry Garfield | Date: | Thu, 12 Nov 2020 22:01:23 +0000 |
| Subject: | Re: Why there is no StreamWrapper interface ? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112244@lists.php.net to get a copy of this message | ||
On Thu, Nov 12, 2020, at 3:25 PM, Benjamin Morel wrote:
> On Thu, 12 Nov 2020 at 19:28, Sara Golemon <pollita@php.net> wrote:
>
> > Honestly, I kind of regard the state of PHP's filesystem libraries to be
> > one big hot mess. I'd really much rather redesign them from the ground up
> > with some BC shims to avoid breaking the world, but I lack the drive to
> > make that happen at the moment.
> >
> > -Sara
> >
>
> There have been some attempts (including mine) to design a better
> abstraction on top of current PHP filesystem functions, which would be a
> good start, but I think what's missing the most currently is a good API to
> get inspiration from.
> Is there a filesystem library in another language that is considered
> state-of-the-art at the moment?
>
> — Benjamin
I have heard very positive things about Rust's file system API, but have no experience with it
myself.
--Larry Garfield