News for hackers. Stuff that matters.
Re:Karmem: A fast binary serialization format faster than Go... by raggi on Monday August 01, 2022 @02:23AM (#32302726)
I suspect a lot of the speed comes from structure specific serialization (avoiding reflect). This can probably done with less unsafe code, and for most use cases that'd be a better trade-off.
Re:Karmem: A fast binary serialization format faster than Go... by klabb3 on Monday August 01, 2022 @03:20AM (#32303063)
Yeah. I have found that for message passing systems the tooling around multiple message types is more important in practice than optimizing for a single specific type. You can solve this with unions/tagged enums or some bespoke "message type metadata", but you HAVE to solve it some way. On the receiver end, you need to have a good story for routing different kinds of messages.