Back to News
Advertisement
TTDiblik about 1 hour ago 0 commentsRead Article on youtube.com

HI version is available. Content is displayed in original English for accuracy.

Hey HN, I've spent the last few years doing web/desktop/IoT dev and I'm currently pivoting to low-latency/Quant. I built this as an exercise to see how far I could push a standard blocking C++23 socket architecture before the OS became the bottleneck. I covered zero-copy parsing, struct alignment, and Gather I/O.

I'm currently working on tearing this down for an io_uring/kqueue rewrite for Part 2.

All of the code can be found at GitHub (https://github.com/TDiblik/cpp-web-server) where I have a README documenting the process of optimizations and where I'll implement the mentioned enhancements in the future.

Would love any feedback from here and/or people in the industry!

Advertisement

Discussion (0 Comments)Read Original on HackerNews

No comments available or they could not be loaded.