logoalt Hacker News

nottorptoday at 9:59 AM7 repliesview on HN

Are they sure it's because Rust? Perhaps if they rewrite Protobuf in Rust it will be as slow as the current implementation.

They changed the persistence system completely. Looks like from a generic solution to something specific to what they're carrying across the wire.

They could have done it in Lua and it would have been 3x faster.


Replies

consptoday at 10:05 AM

If they made the headline something on the line of "replacing protobuf with a native, optimized implementation" would not get the same attention as putting rust in the title to attract the everything-in-rust-is-better crowd.

show 1 reply
embedding-shapetoday at 10:24 AM

It's devbait, not many of us can resist bikeshedding about the title which obviously doesn't accurately reflect the article contents. And the article contents are self-aware enough to admit this to itself too, yet the title remains.

alias_neotoday at 10:16 AM

I was equally confused by the headline.

I wonder if it's just poorly worded and they meant to say something like "Replacing Protobuf with some native calls [in Rust]".

win311fwgtoday at 10:34 AM

The title would suggest that it was already written in Rust; that it was the rewrite in Go that brought five times faster.

misja111today at 10:07 AM

Correct, this has very little to do with Rust. But it wouldn't have made the front page without it.

show 1 reply
locknitpickertoday at 10:11 AM

Yes you are absolutely right. The article even outright admits that Rust had nothing to do with it. From the article:

> Protobuf is fast, but not using Protobuf is faster.

The blog post reads like an unserious attempt to repeat a Rust meme.