Hacker GitHub

← All repos

cloudflare/capnweb

View on GitHub ↗ ★ 4,029 TypeScript

JavaScript/TypeScript-native, low-boilerplate, object-capability RPC system

9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2025-09-22 · latest 2025-09-30

Mentions per year 9 mentions · busiest year 2025 (9)
20082026
  1. …is useful: in implementation I ran into a spec ambiguity around array escaping (documented here: https://github.com/cloudflare/capnweb/issues/68 ). My initial Rust serializer emitted unescaped arrays at lower levels, and I even patched the…
  2. I think you meant to link: https://github.com/cloudflare/capnweb/blob/main/protocol.md I am so pleased that people find it boring! It was quite a puzzle to whittle it down to that point from the original monstrosity:…
  3. …boring, in the best sense of the word. It's simple, straightforward and well specified externally ( https://github.com/cloudflare/capnweb/commits/main/protocol.... ). IMO, there's little value in reusing protocol wrangling code.
  4. …whatsoever. This means it works more like the JavaScript-native RPC system in Cloudflare Workers. https://github.com/cloudflare/capnweb
  5. …no side effects I'm trying to understand how well this no-side-effects footgun is defended against. https://github.com/cloudflare/capnweb/blob/main/src/map.ts#L... seems to indicate that if the special pre-results "record mode" call of the…
  6. …from the app or delivered to it.) This is the Cap'n Web protocol, including serialization details: https://github.com/cloudflare/capnweb/blob/main/protocol.md Now, to be fair, Cap'n Proto has a lot of features that Cap'n Web doesn't have…
  7. …transport layer, is there any support for two way communication? edit: was skimming the github repo https://github.com/cloudflare/capnweb/tree/main?tab=readme-o... and saw this which answers my question: > Supports passing functions by…
  8. …or more likely that Cap'n Web will trail cloudflare workers, and if so, by what length of time? [1] https://github.com/cloudflare/capnweb/tree/main?tab=readme-o...