haberman/upb
View on GitHub ↗ ★ 69 C
a small protobuf implementation in C
19 mentions on Hacker News by 4 people: 0 stories, 19 comments · first 2011-01-09 · latest 2015-04-27
20082026
-
…collection, this doesn't work so well. More info about my scheme is in comments in these headers: https://github.com/haberman/upb/blob/master/upb/refcounted.h https://github.com/haberman/upb/blob/master/upb/refcounted.c I always was…
comment by haberman · 2015-04-27 · in Pre-Pooping Your Pants with Rust -
…I developed for handling cyclic references in my library "upb" would work as a Rust library: https://github.com/haberman/upb/blob/master/upb/refcounted.h The basic idea is that you refcount groups of objects instead of refcounting objects…
comment by haberman · 2014-09-15 · in The Road to Rust 1.0 -
…can be had. For example, this implementation of protobuf deserialization is quite a bit faster: https://github.com/haberman/upb http://blog.reverberate.org/2011/04/upb-status-and-prelimina...
comment by jdf · 2014-05-05 · in Simple Binary Encoding -
…approach to the problem, with my Protocol Buffer / JSON / etc. serialization framework upb ( https://github.com/haberman/upb ). Instead of using static code generation, I use a JIT approach where I generate specialized code on-the-fly.…
comment by haberman · 2014-03-31 · in Show HN: ffjson: faster json serialization in Go -
…written in C. By the way, I'm not just making stuff up, I have written a JIT of my own: https://github.com/haberman/upb/blob/master/upb/pb/decoder_x...
comment by haberman · 2012-11-30 · in Speeding up PHP with the HipHop VM -
…languages in mind. There are already Lua and Python bindings, you could use them as example. https://github.com/haberman/upb/wiki https://github.com/haberman/upb/tree/master/bindings
comment by pygy_ · 2012-10-16 · in How to Start Your Own GeoCoder in Less Than 48 Hours -
> As a build bot? What are you building? My library upb ( https://github.com/haberman/upb/wiki ). It is ~5k LoC and builds in 10 seconds on x86. 4gig of RAM is entirely unnecessary. It pays to be small. :)
comment by haberman · 2012-05-22 · in VIA launches $49 Android PC -
…structure of any structured data that a parser wants to produce or a serializer wants to consume. https://github.com/haberman/upb/wiki
comment by haberman · 2012-05-19 · in We Who Value Simplicity Have Built Incomprehensible Machines -
I struggled with a similar question for my low-level protobuf library UPB ( https://github.com/haberman/upb ). Here are some blog posts describing my dilemma about this: http://blog.reverberate.org/2009/11/porting-upb-to-c.html…
comment by haberman · 2012-05-10 · in Why should I have written ZeroMQ in C, not C++ -
…kernel, so I integrated the BSD implementation of it into my library/kmodule for this purpose: https://github.com/haberman/upb/blob/master/bindings/linux/s...
comment by haberman · 2012-04-24 · in Error handling style in C -
…of my life's goals is to help change that. If you find this intriguing, please feel free to follow: https://github.com/haberman/upb/wiki https://github.com/haberman/gazelle
comment by haberman · 2012-02-18 · in Lisp: It's Not About Macros, It's About Read -
…If you do more pure stream parsing the win is even greater. My protobuf work is open source: https://github.com/haberman/upb > I'm not sure I could have won much by counting the cycles it took me to pull (say) an NBO integer out of a…
comment by haberman · 2011-12-21 · in ISO C is increasingly moronic -
…http://code.google.com/p/protobuf/source/browse/trunk/src/go... [2] https://github.com/acg/lwpb [3] https://github.com/haberman/upb
comment by sigil · 2011-08-01 · in Protocol Buffers, Avro, Thrift & MessagePack -
…Protocol Buffer implementation that does not have these limitations. Using my implementation upb ( https://github.com/haberman/upb/wiki ) you can import schema definitions at runtime (or even define your own schema using a convenient API…
comment by haberman · 2011-08-01 · in Protocol Buffers, Avro, Thrift & MessagePack -
…is why I'm working on a high-performance Protocol Buffer library that does not do code generation: https://github.com/haberman/upb/wiki
comment by haberman · 2011-06-23 · in Why is JSON so popular? Developers want out of the syntax business -
…of a parser), but I am extremely motivated to return to it. http://www.reverberate.org/gazelle/ https://github.com/haberman/upb/wiki
comment by haberman · 2011-03-15 · in Parsing: the solved problem that isn't -
The core of my protobuf-decoding library upb ( https://github.com/haberman/upb/wiki ) is 3k SLOC of C. That includes * a hash table implementation * a reference-counted string type * a generic interface for doing tree traversals of…
comment by haberman · 2011-02-03 · in What can you do in 2k LOC of C? -
…and I finally have the interface right. I'm hoping it will be usable with Python soon (weeks). https://github.com/haberman/upb/wiki (if anyone's looking at the code, I'm working on the src-refactoring branch at the moment) The benefits of…
comment by haberman · 2011-01-26 · in Greplin (YC W10) open sources 10-15x faster protocol buffers for Python -
…a long time on what I consider a major solution to this problem. There are two parts to it. upb ( https://github.com/haberman/upb/wiki/ ) is a standalone and very minimalist implementation of Google's Protocol Buffers serialization format.…
comment by haberman · 2011-01-09 · in While writing YAQL I accidentally discovered Lisp