C++ zero-copy

Open-source C++ projects categorized as zero-copy

Top 4 C++ zero-copy Projects

  1. FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    Project mention: Google discontinuing work on Dart macros | news.ycombinator.com | 2025-01-29

    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...

  2. 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.

    Nutrient logo
  3. cista

    Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.

  4. iceoryx

    Eclipse iceoryx™ - true zero-copy inter-process-communication

    Project mention: iceoryx VS iceoryx2 - a user suggested alternative | libhunt.com/r/iceoryx | 2024-11-11
  5. ipc

    [Start here!] Flow-IPC - Modern C++ toolkit for high-speed inter-process communication (IPC)

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ zero-copy discussion

Log in or Post with

C++ zero-copy related posts

  • iceoryx VS iceoryx2 - a user suggested alternative

    2 projects | 11 Nov 2024
  • Show HN: Comprehensive inter-process communication (IPC) toolkit in modern C++

    4 projects | news.ycombinator.com | 13 Apr 2024
  • Ask HN: What happened to flatbuffers? Are they being used?

    9 projects | news.ycombinator.com | 17 Jan 2023
  • Bebop v2.3.0 now supports Rust - a faster, safer alternative to Protobuf

    6 projects | /r/programming | 1 Sep 2021

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

Sponsored
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.
nutrient.io