1min snip

Go Time: Golang, Software Engineering cover image

gRPC & protocol buffers

Go Time: Golang, Software Engineering

NOTE

Optimize with Care

Deploying a change may risk breaking existing clients, indicating that while technical breakthroughs are possible, they often come with complexity. The JSON parser in the standard library, while widely used, is less efficient than third-party options due to its dual-pass reading approach, optimizing for validation before parsing. In contrast, a binary format assumes validity, streamlining the process. Despite these optimizations, most users stick to the standard library's parser, suggesting that for many, performance gains are not crucial enough to justify the shift. Additionally, creating faster custom JSON encoders is achievable but not universally adopted.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode