glaze
zpp_bits
glaze | zpp_bits | |
---|---|---|
18 | 9 | |
894 | 658 | |
- | - | |
9.9 | 4.9 | |
6 days ago | about 1 month ago | |
C++ | C++ | |
MIT License | 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.
glaze
- [C++20] to_tuple with compile-time names
-
More helpful reflection in Glaze for GCC and Clang (MSVC please take note)
Previously in the Glaze library, you would need to write out your key names along with the member object pointers. However, as of version 1.8.0, these key names are now optional. If the keys are not provided the member variable name will be reflected for serialization/deserialization. I'm even more excited about this reflection than the previously announced pure Clang reflection, because it works well with user customization and supports non-aggregate, non-default constructible, and non-constexpr types.
-
Efficient Versatile Encoding (EVE) - A new, extremely fast binary data format
BEVE fully supports JSON messages. The Glaze C++ JSON library allows users to use the same API to encode/decode to either JSON or EVE binary. Glaze also encodes/decodes directly into your C++ structures and standard library containers, making it easy to use without additional copies.
-
How to arrange a bunch of variables into one array of bytes in memory?
I would either look at https://github.com/eyalz800/zpp_bits or https://github.com/stephenberry/glaze. FYI, glaze both supports json and binary.
- [Cpp] Nouvelle bibliothèque JSON la plus rapide pour C ++ 20
- DynaMix 2.0.0 Released
-
Full source code of Glaze is leaked. I'm curious if someone with knowledge is able to reverse engineer this techinque for enhanced model training with minial style interference.
Glaze is a software that uses artificial intelligence to create realistic images from text descriptions. It is based on Stable Diffusion, an open source framework for image synthesis using diffusion models. Glaze claims to offer enhanced model training with minimal style interference by using a technique called ControlNet1.
-
enum_name (yet another enum to/from string conversion utility >=C++11)
I ended up adopting this approach in some test code https://godbolt.org/z/GKW8Preva when I was thinking about adding automatic enum serialization/deserialization to stephenberry/glaze. But there are too many limitations.
-
Help Needed Regarding "conversion of endianness" while binary-serializing files
Alternatively, use a preexisting library for binary serialization and deserialization. If you’re trying to serialize your own stuff, glaze is a good option since it supports both json and binary serialization/deserialization. https://github.com/stephenberry/glaze
-
Glaze JSON library version 1.0 release
This parse file has some of the chunk simd processing: https://github.com/stephenberry/glaze/blob/main/include/glaze/util/parse.hpp
zpp_bits
-
How to arrange a bunch of variables into one array of bytes in memory?
I would either look at https://github.com/eyalz800/zpp_bits or https://github.com/stephenberry/glaze. FYI, glaze both supports json and binary.
-
Delimiting a Binary File/ Parsing a Binary File
For something bigger or more complicated I'd recommend something like google's protobuf library or https://github.com/eyalz800/zpp_bits if you're able to use external dependencies.
-
alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate
Can you give us some hint on what would be different in your project from the libraries that do roughly the same? The tser author has made a comment here, but I know that cista and zpp_bits probably have some overlap with alpaca. I just don't have a specific use case now, so I don't have an urge to dive deep into the topic, but in the past I've needed a library like yours, and right now I would have to evaluate half a dozen libraries to know would be "best" or more appropriate.
-
Yet another serializer. Serialize C/C++ datatypes, POD and classes, store or retrieve data to and from ostream and istream objects. With support for streams save or read data with files and send or receive them over networks. Its lightweight and header-only.
It might be interesting for you to compare with https://github.com/eyalz800/zpp_bits
-
Automatic Serialization in C++ for Game Engines | IndieGameDev
How about this https://github.com/eyalz800/zpp_bits
- Next step in zpp::bits serialization - protobuf without code generation - no proto file required- (experimental)
- Just added cool RPC capabilities for my C++20 serialization (zpp_bits)
-
Brand new C++20 serialization library (one header)
Since C++20 I felt I could improve my previous serialization library, and to avoid the complexity of supporting multiple C++ standard I decided to create a new one zpp_bits
What are some alternatives?
json - A C++11 library for parsing and serializing JSON to and from a DOM container in memory.
serializer - A single header standard C++ serialization framework.
benchmarks - Some benchmarks of different languages
serializer - Yet another serialzer
dyno - Runtime polymorphism done right
libnop - libnop: C++ Native Object Protocols
polytail - Rust-like trait-based polymorphism for C++
MoreThanTuple - C++20 library for binary serialization of arbitrary aggregates or tuples. The library also unifies work with tuples and aggregates
AdverseCleaner - Remove adversarial noise from images
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
te - C++17 Run-time polymorphism (type erasure) library
alpaca - Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code