Top 4 C++ zero-copy Projects
-
Oh how I enjoy trying to compile and use projects where they use some complex home brew codegen system often written in a different language entirely [1]. Luckily they often use Python as part of some core build step which never breaks compatability in their regex librwry [2].
Yes macros can be a pain and should be limited, but in my experience, a couple hundred lines of macros replaces many thousands of lines code generators with complicated baroque build system integrations (ahem ROS2). The tradeoff is even worse when the language supports templates and compile time operations which can usually replace macros with even less code and are easier to understand. Though at least Go supports codegen properly with support in its official tooling.
1: https://github.com/google/flatbuffers/blob/master/src/idl_ge...
-
Nutrient
Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
-
-
Project mention: iceoryx VS iceoryx2 - a user suggested alternative | libhunt.com/r/iceoryx | 2024-11-11
-
Project mention: Show HN: Comprehensive inter-process communication (IPC) toolkit in modern C++ | news.ycombinator.com | 2024-04-13
Oooh, so close. We’ve got the advertisement/discovery and messaging for sure.
Concretely what it would take to port it to those OS: https://github.com/Flow-IPC/ipc/issues/101
Given a couple weeks to work on it, this thing would be on macOS no problem. With Windows I personally need to understand its FD-passing and native handle concepts first, but I’m guessing it’d be a similar amount of effort in the end.
C++ zero-copy discussion
C++ zero-copy related posts
Index
What are some of the best open-source zero-copy projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | FlatBuffers | 23,754 |
2 | cista | 1,932 |
3 | iceoryx | 1,749 |
4 | ipc | 352 |