News for hackers. Stuff that matters.
Re:Greplin (YC W10) open sources 10-15x faster protocol buff... by sigil on Wednesday January 26, 2011 @08:24PM (#2146138)
I too have a speedy Protocol Buffer implementation in Python:

https://github.com/acg/lwpb

It clocks in at 11x faster than json, the same speedup reported by fast-pb. Only with lwpb:

* There's no codegen step -- which is a disgusting thing in a dynamic language, if you ask me.

* You're not forced into object oriented programming, with lwpb you can decode and encode dicts.

Most of haberman's remarks apply to lwpb as well, ie it's fast, small, and doesn't pull huge dependencies. The lwpb C code was originally written by Simon Kallweit and is similar in intent to upb.

Re:Greplin (YC W10) open sources 10-15x faster protocol buff... by ssnot on Wednesday January 26, 2011 @10:02PM (#2146394)
fast and small footprint, as components should be