{"by":"efecan0","descendants":44,"id":44543156,"kids":[44543347,44543568,44543338,44549314,44548832,44543893,44546280,44545672,44543652,44543854,44549097,44545040,44543748,44543380],"score":78,"text":"Hi HN,<p>I’m a recent CS graduate.\nDuring the past few months I wrote BinaryRPC, an open-source RPC framework in modern C++20 focused on low-latency, binary WebSocket messaging.<p>Why I built it\n* Wanted first-class session support, pluggable QoS levels and a simple middleware chain (global, specific, multi handler) without extra JSON&#x2F;XML parsing.\n* Easy developer experience<p>A quick feature list\n* Binary WebSocket frames – minimal overhead\n* Built-in session layer (login &#x2F; reconnect &#x2F; heartbeat)\n* QoS1 &#x2F; QoS2 with automatic ACK &amp; retry\n* Plugin system – rooms, msgpack, etc. can be added in one line\n* Thread-safe core: RAII + folly<p>Still early (solo project), so any feedback on design, concurrency model or missing must-have features would help a lot.<p>Thanks for reading!<p>also see &quot;Chat Server in 5 Minutes with BinaryRPC&quot;: <a href=\"https:&#x2F;&#x2F;medium.com&#x2F;@efecanerdem0907&#x2F;building-a-chat-server-in-5-minutes-with-binaryrpc-qos2-session-management-and-room-plugin-ccb66d722466\" rel=\"nofollow\">https:&#x2F;&#x2F;medium.com&#x2F;@efecanerdem0907&#x2F;building-a-chat-server-i...</a>","time":1752337932,"title":"Show HN: BinaryRPC – Lightweight WebSocket-based RPC framework in modern C++","type":"story","url":"https://github.com/efecan0/binaryrpc-framework"}