Phobos v3 idea: File interface
user1234
user1234 at 12.de
Fri Sep 20 21:12:33 UTC 2024
On Thursday, 19 September 2024 at 20:39:33 UTC, solidstate1991
wrote:
> In a nutshell:
>
> Create either a base class or an interface, which defines basic
> file accessing capabilities, then let that be used for not just
> files on the disk, but for things like the network, memory
> mapped files (would be great for compressed files without
> writing them to the disk first, etc.).
Given the latest developement of the discussion, I assume that
what you suggest is really "no-DbI", right ? Or do you think that
a static interface would do it ?
I dont know why but when you talk about bigger files that reminds
me the Stream class... removed. For example, immediate thought is
that, buffering of a big file could be hidden behind an
InputRange.
More information about the Digitalmars-d
mailing list