protocolbuffers/upb
View on GitHub ↗ ★ 1,518 C archived
a small protobuf implementation in C
9 mentions on Hacker News by 4 people: 1 story, 8 comments · first 2016-01-30 · latest 2023-08-18
20082026
-
…of such a journey: https://blog.reverberate.org/2021/04/21/musttail-efficient-i... I created the https://github.com/protocolbuffers/upb project a long time ago. It's written in C, and over the years it has gotten to a state where the speed…
comment by haberman · 2023-08-18 · in C and C++ prioritize performance over correctness -
More and more languages are being built on top of the "upb" C library for protobuf ( https://github.com/protocolbuffers/upb ) which is designed around arenas to avoid this very problem. Currently Ruby, PHP, and Python are backed by upb.…
comment by haberman · 2023-07-28 · in Cap'n Proto 1.0 -
https://github.com/protocolbuffers/upb A Hardware Accelerator for Protocol Buffers https://dl.acm.org/doi/abs/10.1145/3466752.3480051
comment by nerpderp82 · 2022-12-20 · in Fast memcpy, a system design -
…s://book.huihoo.com/data-structures-and-algorithms-with-... Inspired by Lua, I did the same for upb ( https://github.com/protocolbuffers/upb ). I recently benchmarked upb's table vs SwissTable for a string-keyed table and found upb was…
comment by haberman · 2021-10-16 · in Implementing Hash Tables in C -
…many years trying to figure out the smallest, fastest, and simplest way to implement protobuf in https://github.com/protocolbuffers/upb , the single best improvement I found was to make the entire memory management model arena-based. When…
comment by haberman · 2021-08-14 · in Asahi Linux for Apple M1 progress report, August 2021 -
…on protobuf-related things for >10 years, including creating a size-focused implementation ( https://github.com/protocolbuffers/upb ), and has been working on the protobuf team for >5 years, I have a few thoughts on this (thoughts are my…
comment by haberman · 2020-12-30 · in Don't Use Protobuf for Telemetry -
> FWIW, I have been experimenting with auto-generating CMake from my Bazel BUILD file for my project https://github.com/google/upb . My plan is to use Bazel for development but have the CMake build be a fully supported option also for…
comment by adev_ · 2018-11-14 · in Tensorflow 2.0: models migration and new design -
…FWIW, I have been experimenting with auto-generating CMake from my Bazel BUILD file for my project https://github.com/google/upb . My plan is to use Bazel for development but have the CMake build be a fully supported option also for users…
comment by haberman · 2018-11-13 · in Tensorflow 2.0: models migration and new design