Part 16 of Modernizing .NET is out! 🛡️

Today we’re ditching the obsolete BinaryFormatter in favor of the fast and secure protobuf-net.

🚀 7x faster 📉 3x smaller ✅ Fully safe for modern .NET

https://medium.com/@michael.kopt/%EF%B8%8F-modernizing-net-part-16-replacing-binaryformatter-with-protobuf-net-for-speed-and-security-f5cc5db8055a
#dotnet #dotnetcore #dotnet8 #dotnet9 #dotnet10 #aspnet #aspnetcore #csharp #programming #serialization #protobuf

🛡️ Modernizing .NET — Part 16: Replacing BinaryFormatter with protobuf-net for Speed and Security

Learn how to eliminate the risks of BinaryFormatter by migrating to protobuf-net. Boost performance by 7x and reduce size by 3x.

Medium
Nothing better than spending the night reverse-engineering obfuscated #protobuf data in Ukrainian. And what's about you ?

Już kiedyś wspominaliśmy o #ProtocolBuffers (lub #Protobuf), ale ten artykuł wyjaśnia to wszystko bardzo jasno i warto się z nim zapoznać.

#programowanie #WebDev #JSON #JavaScript

https://aloisdeniel.com/blog/better-than-json

Better than JSON

An in-depth look at why Protobuf can outperform JSON for modern APIs, with practical Dart examples showing how strong typing, binary serialization, and shared schemas improve both performance and developer experience.

Oya Studio
Replacing Protobuf with Rust to go 5 times faster

PgDog

I like RustRover as an IDE for Rust. It's pretty fast and has mostly working code completion. But I have not been able to get it to recognize Protobuf types. The application compiles and runs fine, but RustRover can not seem to find the generated types. This makes editing much more distracting than it needs to be as a bit part of the code is red when it doesn't need to be. Or perhaps something is not included correctly but the compiler manages to handle it?

#rust #rustrover #protobuf

Validation logic drifting between frontend, backend, and batch jobs is a real production problem.

This article shows how to move validation into your Protobuf schema using Protovalidate, and enforce the same rules in Quarkus, JavaScript, Python, and more.

Schema as contract. Validation as infrastructure.

👉 https://www.the-main-thread.com/p/protobuf-protovalidate-quarkus-schema-validation

#Java #Quarkus #Protobuf #APIDesign #SchemaFirst #BackendEngineering #FOSS

If anyone has a sane way to decode protobuf (ideally v2 I think? though the "standard" is on v3?) GTFS files that doesn't require tons of questionsble dependencies, and/or has an explanation of the actual technical format that won't make my eyes glaze over like the official docs do, please let me know!

Google seems to have quietly dropped their bindings for PHP and nobody out there seems to have any implementation that doesn't use Google's libraries, which makes me nervous.

So I'd love to understand enough to make a simple PHP implementation that could natively fetch the realtime feeds, but I'd also welcome any existing or prospective from-scratch implementations that don't depend on Google's libraries. Never feels like an ecosystem is healthy if there's a single underlying implementation and it's run by a single company...

#gtfs #protobuf #php
🚀 Imagine thinking you can harness the raw power of #Rust to make your database proxy five times faster, only to realize #Protobuf was the bottleneck all along! 🤦‍♂️ It's like blaming the tires for your car's poor gas mileage while you're revving the engine at a screaming 9000 RPM. 🍩
https://pgdog.dev/blog/replace-protobuf-with-rust #DatabasePerformance #Optimization #TechHumor #SoftwareDevelopment #HackerNews #ngated
Replacing Protobuf with Rust to go 5 times faster

PgDog

Protobuf как контракт: spec‑first валидация с protovalidate (часть 2)

В первой части мы разобрали protoc-gen-validate и spec-first подход к валидации. Я обещал рассказать про protovalidate ну и вот, держите :) И самый первый вопрос конечно, а зачем вообще появился protovalidate, если PGV уже есть и работает?

https://habr.com/ru/articles/986422/

#go #golang #grpc #validate #testing #easyp #buf #protobuf #grpcgo #grpcсервисы

Protobuf как контракт: spec‑first валидация с protovalidate (часть 2)

В первой части мы разобрали protoc-gen-validate и spec-first подход к валидации. Я обещал рассказать про protovalidate ну и вот, держите :) И самый первый вопрос конечно, а зачем вообще появился...

Хабр

RustRover seems to be able to somehow break its view of the world. I have a Protobuf file that's compiled with a build.rs using prost_build::compile_protos(). It works fine, my app uses the created structs andfunctions fine, compiles ok and runs fine. Yet RustRover does not see the symbols and shows everything as undefined. Something is cached somewhere and I can't figure out what.

#rust #rustrover #protobuf