abseil-cpp icon indicating copy to clipboard operation
abseil-cpp copied to clipboard

File system library

Open navidR opened this issue 7 years ago • 13 comments

Since abseil trys hard to be a general purpose C++ library and there is no (at least I am not aware of) a good, robust and multiplatform file system C++ library with “sane” (thank you for adding CMake) build system, what is your stance on adding file system to abseil?

Is it on the future list? Or you are not going to have file system operation in abseil at all.

I need to port our company’s ndk code base to a newer library. The library which we are using right now is buggy. Because ndk has CMake support, abseil is on top of my list to use.

navidR avatar Nov 15 '17 12:11 navidR

There are plans in the future to add Google's internal file libraries to Abseil, but they are blocked on, among other things, the release of a unified absl::Status similar to the Status type in Tensorflow, gRPC, etc. It doesn't currently follow the std::filesystem API.

JonathanDCohen avatar Nov 21 '17 19:11 JonathanDCohen

Can we keep this open to follow this issue? Any news or any updates regarding the addition of file system support to Abseil would be posted here.

navidR avatar Sep 04 '18 16:09 navidR

That's fair, we can keep this open.

mbxx avatar Sep 05 '18 18:09 mbxx

any progress pls? @mbxx

joneepenk avatar Feb 21 '19 02:02 joneepenk

Releasing our filesystem library is blocked on some dependencies (such as Status) that haven't been released yet.

ahedberg avatar Feb 21 '19 14:02 ahedberg

I saw that Status was released, are there plans in the future to support multiplatform file system C++ library ? If you need help, please tell me where to start. Thank you

vnghia avatar May 17 '20 16:05 vnghia

Tentative plans, yes. As always, there's a lot of work to be done checking the design, putting things into Abseil, resolving old issues before making them public. If we release this, I suspect it'll still be quite some time.

On Sun, May 17, 2020 at 12:30 PM Vo Van Nghia [email protected] wrote:

I saw that Status was released, are there plans in the future to support multiplatform file system C++ library ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abseil/abseil-cpp/issues/47#issuecomment-629824704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7CRXZKCOESXRG7MCJ6S43RSAGLFANCNFSM4ED3KZKA .

-- *If you get an email from me outside of the 9-5 it is not because I'm always on or expect an immediate response from you; it is because of work flexibility http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same.

tituswinters avatar May 18 '20 12:05 tituswinters

We're running into issues with attempting to provide a VFS due to inode tracking issues. Getting an abseil filesystem library released would massively unblock some of the https://cs.tvl.fyi/ efforts.

riking avatar Jul 18 '20 22:07 riking

It has been almost 2 years since the last update... Is there any progress?..

DimanNe avatar May 30 '22 12:05 DimanNe

Releasing the filesystem library is not something that is actively being worked on currently.

I also want to temper your expectations. I wouldn't say our filesystem library is anything special. It is quite old, and if we were to ever release it, it would be for the benefit of Google projects that are already using it. It wouldn't be my first choice for a new project.

derekmauro avatar May 31 '22 16:05 derekmauro

Thanks Derek for the update. What would be your recommendation for such a file system library? My use case is pretty simple: just something that would work both on gcs and locally.

cnsgsz avatar Jun 13 '22 01:06 cnsgsz

I'm not aware of anything good quality in C++ that abstracts over both native files and GCS. You might do better with filesystem plugins to make GCS look like a mounted filesystem?

On Sun, Jun 12, 2022 at 9:33 PM cnsgsz @.***> wrote:

Thanks Derek for the update. What would be your recommendation for such a file system library? My use case is pretty simple: just something that would work both on gcs and locally.

— Reply to this email directly, view it on GitHub https://github.com/abseil/abseil-cpp/issues/47#issuecomment-1153364866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7CRX7UISKDK4CMLDQDSHTVO2FXZANCNFSM4ED3KZKA . You are receiving this because you commented.Message ID: @.***>

-- *If you get an email from me outside of the 9-5 it is not because I'm always on or expect an immediate response from you; it is because of work flexibility http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-better-work-life-balance.html . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same.

tituswinters avatar Jun 13 '22 13:06 tituswinters