HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
currentspace
capn-rs
Rust2025–2025
currentspace / capn-rs

capn-rs

Discover this repository through its Hacker News conversations.

3Distinct people
4Mentions
0Explicit recommenders
82GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour4 dated mentions

Observed mentions: 2025-09-30 02:13:00 UTC to 2025-09-30 12:30:22 UTC.

01232025-09-30 02:00:00 UTC to 2025-09-30 03:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 30, 02:002025-09-30 03:00:00 UTC to 2025-09-30 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 04:00:00 UTC to 2025-09-30 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 05:00:00 UTC to 2025-09-30 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 06:00:00 UTC to 2025-09-30 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 07:00:00 UTC to 2025-09-30 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 30, 07:002025-09-30 08:00:00 UTC to 2025-09-30 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 09:00:00 UTC to 2025-09-30 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 10:00:00 UTC to 2025-09-30 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 11:00:00 UTC to 2025-09-30 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-30 12:00:00 UTC to 2025-09-30 13:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 commentsSep 30, 12:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 30, 02:002025-09-30 02:00:00 UTC2025-09-30 03:00:00 UTC110
Sep 30, 03:002025-09-30 03:00:00 UTC2025-09-30 04:00:00 UTC000
Sep 30, 04:002025-09-30 04:00:00 UTC2025-09-30 05:00:00 UTC000
Sep 30, 05:002025-09-30 05:00:00 UTC2025-09-30 06:00:00 UTC000
Sep 30, 06:002025-09-30 06:00:00 UTC2025-09-30 07:00:00 UTC000
Sep 30, 07:002025-09-30 07:00:00 UTC2025-09-30 08:00:00 UTC000
Sep 30, 08:002025-09-30 08:00:00 UTC2025-09-30 09:00:00 UTC000
Sep 30, 09:002025-09-30 09:00:00 UTC2025-09-30 10:00:00 UTC000
Sep 30, 10:002025-09-30 10:00:00 UTC2025-09-30 11:00:00 UTC000
Sep 30, 11:002025-09-30 11:00:00 UTC2025-09-30 12:00:00 UTC000
Sep 30, 12:002025-09-30 12:00:00 UTC2025-09-30 13:00:00 UTC303

What Hacker News says

4 sources
Right, for example, there are no comments on why something there is something called a PromiseIdAllocator that starts with the magic number "1": https://github.com/currentspace/capn-rs/blob/a816bfca5fb6ae5... Yet there is a public interface that allows for initialization with "0": https://github.com/currentspace/capn-rs/blob/a816bfca5fb6ae5... It's like the LLM was able to predict that 1 is needed in the protocol, but wasn't relevant to check in the boilerplate. I don't have a problem with newtype-all-the-things to ensure correctness in some areas, but no comments/constants does not lead to confidence.
In Show HN: Cap'n-rs – Rust implementation of Cloudflare's Cap'n Web protocol
Regarding the concept, it's cool to see you using LLMs to quickly generate protocol versions. But asking the community to review an AI-generated implementation week-old announced protocol, is more or less putting the recently coined-term AI "workslop" upon others. It doesn't really matter if it happens to be a good implementation or not. There are two main issues I can think of right now: 1) Work going into the protocol is only useful for your implementation of it. The capnweb-core crate depends on the tokio runtime, and parts of the protocol/definitions are in the client crate: https://github.com/currentspace/capn-rs/blob/a816bfca5fb6ae5... What if someone wants to leverage work into the core parts of the protocol to use a different runtime or no-std? 2) The project has namespace squatted/swiped the best name for the official implementat
Read the rest
ion of the project. I understand Rust/Crates-IO allows for this free-for-all, but isn't it entirely possible that Cloudflare already has Rust crates for this that they might open source? Or if someone else wants to make a competing implementation? Maybe it's just me, but I like to put my organization prefix on all my crates in the event I ever open source any of them. Would you offer to transfer the crate names to Cloudflare if they were going to offer an implementation -- just like what happened with protobuf/Google?
In Show HN: Cap'n-rs – Rust implementation of Cloudflare's Cap'n Web protocol

Show HN: Cap'n-rs – Rust implementation of Cloudflare's Cap'n Web protocol

Last week Cloudflare released Cap'n Web [1], a schema-free capability-based RPC protocol. I built capn-rs this week - a Rust implementation with full wire protocol compatibility. Links: GitHub: https://github.com/currentspace/capn-rs Crates: https://crates.io/crates/capnweb-server API docs: https://docs.rs/capnweb-server What's working: Wire compatibility verified via integration tests against TypeScript reference Multi-transport: HTTP batch, WebSocket, WebTransport (HTTP/3) Complete IL (intermediate language) expression evaluator Promise pipelining with dependency resolution Comprehensive test coverage The interesting design challenge was mapping Cap'n Web's record-replay .map() semantics to Rust's type system while maintaining ergonomic APIs. Cap'n Web records operations on placeholder values to build execution plans - in Rust this beca
Read the rest
me a clean builder pattern with type-level guarantees. Built this as an experiment with Claude Code for porting complex protocols. The AI handled mechanical translation well, but architectural decisions (especially around async/await patterns and lifetime management) required human judgment. This is early days - I'd especially appreciate feedback on API ergonomics and any edge cases I might have missed. Also happy to discuss the protocol design or the AI-assisted development experience. [1] https://news.ycombinator.com/item?id=45332883
52 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.