C++ protobuf-runtime

Open-source C++ projects categorized as protobuf-runtime

C++ protobuf-runtime Projects

protobuf-runtime
  1. Protobuf

    Protocol Buffers - Google's data interchange format

    Project mention: I wasted weeks hand optimizing assembly because I benchmarked on random data | news.ycombinator.com | 2025-07-24

    (((uint32_t)clz + 7) * 9) >> 6

    3. Hand roll a jump table taking advantage of arm's fixed instruction width to calculate the jump target with a shift.

    https://github.com/protocolbuffers/protobuf/commit/b039dfe26...

    This results in one branch for 1 byte varints, plus one additional branch for any larger size, and the branch predictor does not have to track a varying trip count through a loop. This approach resulted in a 2.64% speedup for overall encoding (which includes a lot more than just varints) on mid sized arm cores.

    I think it's very difficult to beat a single comparison and branch for the 1 byte case for actual encoding forwards or backwards, unless you know there's going to be long runs of one-byte values.

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
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++ protobuf-runtime discussion

Log in or Post with

C++ protobuf-runtime related posts

  • The provenance memory model for C

    2 projects | news.ycombinator.com | 30 Jun 2025
  • The Big TDD Misunderstanding (2022)

    1 project | news.ycombinator.com | 16 Feb 2025
  • Μpb: Small, Fast C Protobufs

    1 project | news.ycombinator.com | 6 Jan 2025
  • Understanding Protocol Buffers: A Fast Alternative to JSON

    1 project | dev.to | 15 Dec 2024
  • Part 3: Compiling the Protos and Setting up the gRPC server

    1 project | dev.to | 9 Dec 2024
  • A protoc compiler plugin that generates useful extension code for Kotlin/JVM

    2 projects | dev.to | 28 May 2024
  • Show HN: Protobuf Editions now available in v27.0

    1 project | news.ycombinator.com | 24 May 2024
  • A note from our sponsor - JetBrains
    surveys.jetbrains.com | 1 Sep 2025
    Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes! Learn more →

Index

# Project Stars
1 Protobuf 68,919

Sponsored
Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?