Post #2234497
2025-12-03 16:36 UTC
@meetingcpp@mastodon.online @JSAMcFarlane@mastodon.ie I didn’t count but I don’t know why would anyone send garbage over the wire
Replies (2)
-
@meetingcpp@mastodon.online 2025-12-03 16:46
@vitaut@mastodon.social @JSAMcFarlane@mastodon.ie its a nice business model.
-
@JSAMcFarlane@mastodon.ie 2025-12-03 16:47
@vitaut@mastodon.social @meetingcpp@mastodon.online why indeed?😂 I'll bet nlohmann and protobuf together cover a fair chunk of C++ production code serialisation. Absolutely, you need to sanitise all data coming into the program or you'll get all sorts of bugs. The empty bits are a perennial problem. It's tough regardless of optimisation. But I'm struggling to find a way around the sanitiser here: https://godbolt.org/z/cY4erYTPb