Hacker News new | ask | show | jobs
by reactordev 327 days ago
I’m currently using MessagePack. It does the job of making small binary messages but I still suffer from marshal/unmarshal copying.

For certain messages with a fixed size (no strings or arrays) I can pin a message and reuse its memory address within the queue but there’s still data in memory that needs to be copied. At the very least from the TCP/IP stack.