Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

I built an HTTP/2 server in C++ to learn the protocol and language

Details

External ID
46486853
Source
HN
Company
—
Product
I built an HTTP/2 server in C++ to learn the protocol and language
Website domain
github.com
Launched
Jan. 4, 2026
Cohort
—
Upvotes
11
Upvotes percentile
0.5335968379446641
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

I wanted to learn more about the HTTP/2 protocol but also deep dive into modern C++ development. I'm currently using it to host my personal web site - https://www.roberthargreaves.com.I've also blogged a bit about the development process, hosting options and steps I took to harden the application against attack - https://blog.roberthargreaves.com/2026/01/03/building-hostin...It's by no means a complete implementation of HTTP/2, but I think I've achieved the main aims I was hoping to achieve with it!I would love some feedback though from more experienced folks if there's some egregious failings which I should address.

Enrichment

Theme
database infrastructure and developer tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
http/2 server in c++
Manually corrected
False

Could you build this?

No Implementing a compliant, hardened HTTP/2 protocol server from scratch in modern C++ requires deep networking systems expertise, binary framing parsing, HPACK decompression, and stream multiplexing state machines.

What it would actually take: A developer must implement RFC 7540 and RFC 7541 (HPACK header compression) using modern asynchronous C++ (e.g., ASIO or epoll event loops). Core challenges include stateful stream flow control, priority trees, TLS ALPN negotiation via OpenSSL, and edge-case hardening against DDoS attacks (e.g., rapid reset and stream starvation).

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one — 103 launches clear the similarity bar, closest 8 shown.

Attention rank: #52 of 104 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 67 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.