strong_type
filesystem
strong_type | filesystem | |
---|---|---|
5 | 3 | |
373 | 1,271 | |
- | - | |
7.0 | 5.1 | |
about 2 months ago | 18 days ago | |
C++ | C++ | |
Boost Software License 1.0 | 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.
strong_type
-
How do you not shoot yourself in the foot ?
My general philosophy has long been to let the compiler do as much of the mundane work as possible. To that end, I do as much as I can to help it. Copious use of RAII and in general using specific types, including 'strong' types, so that I can describe logical relationships in a way that the compiler can understand and act on. Having a clear understanding of resource ownership is also important. Also using sanitizers, and liberal use of assert(), but only in debug builds, otherwise there's a tendency to avoid using it due to the extra overhead.
- An additive strong typedef library for C++14/17/20
- WG21, aka C++ Standard Committee, February 2022 Mailing
- Retiring boost from my codebase
-
Very stupid question: Declaring a nominal int type.
The solution I was looking for is strong typing. Here's an amazing lib for that
filesystem
-
Rust's recursive directory iterator 5x faster than CPP
On C++ side you may also try ghc::filesystem. It may cache more data fro directory entry.
-
Retiring boost from my codebase
boost::filesystem -> https://github.com/gulrak/filesystem.git
- Non C++17, or Boost way to mkdir
What are some alternatives?
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
onion-monero-blockchain-explorer - Onion Monero Blockchain Explorer
abseil-cpp - Abseil Common Libraries (C++)
anno1800-mod-loader - The one and only mod loader for Anno 1800, supports loading of unpacked RDA files, XML merging and Python mods.
cpp-base64 - base64 encoding and decoding with c++
dwarfs - A fast high compression read-only file system for Linux, Windows and macOS
libcds - A C++ library of Concurrent Data Structures
ultimatepp - U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).
quantity
cereal - A C++11 library for serialization
apfs-fuse - FUSE driver for APFS (Apple File System)