Show HN: BinaryRPC ā Lightweight WebSocket-based RPC framework in modern C++
Hacker News (score: 40)Description
Iām a recent CS graduate. During the past few months I wrote BinaryRPC, an open-source RPC framework in modern C++20 focused on low-latency, binary WebSocket messaging.
Why I built it * Wanted first-class session support, pluggable QoS levels and a simple middleware chain (global, specific, multi handler) without extra JSON/XML parsing. * Easy developer experience
A quick feature list * Binary WebSocket frames ā minimal overhead * Built-in session layer (login / reconnect / heartbeat) * QoS1 / QoS2 with automatic ACK & retry * Plugin system ā rooms, msgpack, etc. can be added in one line * Thread-safe core: RAII + folly
Still early (solo project), so any feedback on design, concurrency model or missing must-have features would help a lot.
Thanks for reading!
also see "Chat Server in 5 Minutes with BinaryRPC": https://medium.com/@efecanerdem0907/building-a-chat-server-i...
More from Hacker
Pyscripter ā Open-source Python IDE written in Delphi
Pyscripter ā Open-source Python IDE written in Delphi
Show HN: ut ā Rust based CLI utilities for devs and IT
Show HN: ut ā Rust based CLI utilities for devs and IT Hey HN,<p>I find myself reaching for tools like it-tools.tech or other random sites every now and then during development or debugging. So, I built a toolkit with a sane and simple CLI interface for most of those tools.<p>For the curious and lazy, at the moment, ut has tools for,<p>- Encoding: base64 (encode, decode), url (encode, decode)<p>- Hashing: md5, sha1, sha224, sha256, sha384, sha512<p>- Data Generation: uuid (v1, v3, v4, v5), token, lorem, random<p>- Text Processing: case (lower, upper, camel, title, constant, header, sentence, snake), pretty-print, diff<p>- Development Tools: calc, json (builder), regex, datetime<p>- Web & Network: http (status), serve, qr<p>- Color & Design: color (convert)<p>- Reference: unicode<p>For full disclosure, parts of the toolkit were built with Claude Code (I wanted to use this as an opportunity to play with it more). Feel free to open feature requests and/or contribute.
Coding a new BASIC interpreter in 2025 to replace a slow one
Coding a new BASIC interpreter in 2025 to replace a slow one
Improvements to OCaml code editing: the basics of a refactor engine
Improvements to OCaml code editing: the basics of a refactor engine
Building MCP servers for ChatGPT and API integrations
Building MCP servers for ChatGPT and API integrations
Show HN: Fast Thermodynamic Calculations in Python
Show HN: Fast Thermodynamic Calculations in Python I built gaspype, a Python library for fast thermodynamic calculations, like equilibrium reactions. It's lightweight, written in typed Python/Numpy, and comes with a large species database.<p>Gaspype operates on multidimensional arrays for composition, temperature and pressure. It is designed for a flat learning curve and compact syntax for pocket calculator-like use in Jupyter Notebooks, as well as high performance for integration in large physical models. One central goal is the portability to GPU frameworks like JAX or PyTorch for performance as well as direct integrability in ML pipelines.<p>Checkout the examples, I'd love to hear you feedback, use cases, or feature ideas.<p>Repo is located here: <a href="https://github.com/DLR-Institute-of-Future-Fuels/gaspype">https://github.com/DLR-Institute-of-Future-Fuels/gaspype</a>
Parallelizing SHA256 Calculation on FPGA
Parallelizing SHA256 Calculation on FPGA
Rust CLIs with Clap
Rust CLIs with Clap
Why Go Rocks for Building a Lua Interpreter
Why Go Rocks for Building a Lua Interpreter
No other tools from this source yet.