Category Archives: upb

Making Knuth’s wish come true: the x32 ABI

Several years ago (though I can’t say exactly how many since it’s not dated) Knuth made the following complaint: A Flame About 64-bit Pointers It is absolutely idiotic to have 64-bit pointers when I compile a program that uses less … Continue reading

Posted in upb | Leave a comment

Beating the compiler

It’s been a while since I’ve posted about upb, but I’ve been busy improving it! I think the biggest achievement I can mention is that the core upb APIs (upb_handlers, upb_def, and upb_bytestream/upb_bytesink) are converging to the point where I’m … Continue reading

Posted in upb | Leave a comment

upb status and preliminary performance numbers

The last few weeks have been very exciting for upb. On April 1 I checked in a JIT compiler for parsing protobufs, which one might think was an April Fool’s joke, but it’s real and the performance numbers so far … Continue reading

Posted in upb | 7 Comments

Gazelle/upb status

It has been just over a year since I last posted, leading some people to rightfully wonder whether my projects Gazelle and upb are abandoned. The answer to that question is a resounding “no.” I am more motivated to complete … Continue reading

Posted in Gazelle, upb | 4 Comments

Porting upb to C++?

I am on the verge of trying something I never thought I’d do. I’m considering porting upb to C++. My reasons aren’t ideological, they are highly practical. Basically I am realizing that while object-oriented C is OK for a while, … Continue reading

Posted in upb | Tagged | 7 Comments