Settings

Theme

Show HN: Vbare – a simple alternative to Protobuf for schema evolution

rivet.dev

2 points by NathanFlurry 3 months ago · 0 comments · 1 min read

Reader

Hey HN – we’re sharing a tiny extension to BARE called VBARE that we’ve been using extensively to make schema evolution much cleaner & simpler.

After our Protobuf schemas became a cluttered after numerous major changes, we evaluated many alternatives for better schema evolution - Cap'n Proto, FlatBuffers, Borsh, etc. - but none seemed that they’d make a noticable improvement.

VBARE takes a different approach: it's a tiny extension to BARE that adds version headers and explicit migration functions between schema versions. This allows you to handle complex changes (like splitting a "name" field into "firstName"/"lastName") that are impossible with other tools, and your application logic stays clean.

It's been powering all of Rivet's protocols in production, with TypeScript and Rust implementations available.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection