llfio
mio
Our great sponsors
llfio | mio | |
---|---|---|
25 | 8 | |
768 | 1,630 | |
- | - | |
6.3 | 0.0 | |
10 days ago | 3 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llfio
-
File IO question if something is in stdlib or not
The reference library can be found at https://ned14.github.io/llfio/
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
Thanks for the suggestions, which I have transposed into https://github.com/ned14/llfio/issues/106
-
Should I use platform dependent file IO instead of basic_fstream when performance matters
There was an effort to get an afio library accepted into boost in the past. I believe the most current work on that library is happening here nowadays : https://github.com/ned14/llfio I'm not sure if it is considered production-ready or not. But I couldn't see any mention of it in the replies so I figured I would fix that!
-
File Handling in C++
It has an implementation: LLFIO
- Proposed Standard Secure Sockets reference implementation complete
-
Getting started with Boost in 2022
I'm a fan of Interprocess, used it for over a decade. But for mmapping I've switched to LLFIO and recommend it highly. (Plugging so Niall doesn't have to.)
-
Networking TS: first impression and questions;
Since that post, I have the reference implementation library very nearly passing its test suite https://github.com/ned14/llfio/pull/89. Once it's done I'll start very slowly writing its proposal paper for WG21 SG4. Should land before this summer.
- P2300 (Sender/Receiver) is DEAD in the water for C++23 !!!
-
IO library for embedded devices - looking for contributor
FYI it doesn't solve quite what you're solving, but I've been careful to ensure https://github.com/ned14/llfio works well on Freestanding and < 64 Kb microcontrollers and I know Victor has been careful to ensure a good subset of std::format could work well on embedded. In other words, the i/o story for embedded C++ may improve greatly in the next few years.
-
Weird fstream behavior after MSVC upgrade
If you want stronger guarantees than iostreams can give you, either use the OS-specific calls or a wrapper of said calls (e.g. https://github.com/ned14/llfio, disclaimer I'm the owner of that). Note that even in LLFIO, there is no concept of "seek to the end" because that's racy so we don't implement that. All you get is atomic append, otherwise you're on your own to coordinate what "end of file" means.
mio
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
As simple and clean example you can see https://github.com/mandreyel/mio readme.md
- Why are people willing to pay 100$ a year for an IDE?
-
How to parse two int values per line from a char* array from memory map
I loaded a 7Gb file into a memory map using the mio header file. The mmap variable is a char* array. I used a short file since this is my first time attempting a memory mapped file. This is the text2.txt file
-
Using mio header file to read in large file
I am using this mio header file and attempting to read in a 7GB file. This is taking a long time to execute so I stop the execution. I am reading in a small file just to test this out.
-
Reading a 7GB file into memore using mio.hpp header
A great fellow redditor showed me this memory mapping header file to read in large files. This is how I am using it with a syntax error.
- File Handling in C++
-
Fastest way to read very large file(Gb to Tb) in C++
I would memory map it. Use this lib: https://github.com/mandreyel/mio
What are some alternatives?
libunifex - Unified Executors
hana - Your standard library for metaprogramming
mold - Mold: A Modern Linker ðŸ¦
filesystem - An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
countwords - Playing with counting word frequencies (and performance) in various languages.
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond
corrade - C++11 multiplatform utility library
prelockd - Lock executables and shared libraries in memory to improve system responsiveness under low-memory conditions
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API