capnproto/capnproto-rust
View on GitHub ↗ ★ 2,521 Rust
Cap'n Proto for Rust
9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2013-11-19 · latest 2025-02-04
20082026
-
…Like protobuf and other such formats, capnp uses code generation. The tooling for Rust is at https://github.com/capnproto/capnproto-rust and the generated code gives you structs that wrap borrowed data and give you accessors rather than…
comment by lilyball · 2025-02-04 · in No-Panic Rust: A Nice Technique for Systems Programming -
…but with those features to avoid copying data, so I'm wondering if there's any overlap. [0] https://github.com/capnproto/capnproto-rust [1] https://github.com/rkyv/rkyv [2] https://docs.rs/sanakirja-core/latest/sanakirja_core/btree/p...
comment by nextaccountic · 2022-01-19 · in Pijul 1.0 Beta -
…API for serialisation and deserialisation. Compare the Rust example for Capnp with Protobuf: https://github.com/capnproto/capnproto-rust/blob/master/exam... https://docs.rs/prost/0.6.1/prost/trait.Message.html#method.... (Ok I couldn't…
comment by IshKebab · 2020-04-24 · in Cap'n Proto 0.8: Streaming flow control, HTTP-over-RPC, fibers -
https://github.com/capnproto/capnproto-rust
comment by steveklabnik · 2019-12-15 · in Show HN: Coerce – Actor runtime for Rust using async/await and tokio channels -
Cap'n Proto has a high-quality Rust implementation: https://github.com/dwrensha/capnproto-rust
comment by kentonv · 2017-04-23 · in Cap'n'Proto remote vuln: pointer overflow check optimized away by compiler -
https://github.com/dwrensha/capnproto-rust
comment by steveklabnik · 2017-04-21 · in Cap'n'Proto remote vuln: pointer overflow check optimized away by compiler -
There's also capnproto-rust[1] if anyone was wondering. [1]: https://github.com/dwrensha/capnproto-rust
comment by ktta · 2017-04-20 · in Serde 1.0.0 for Rust released -
Rust does have unsafe direct memory access and a work-in-progress port of Cap'n Proto ( https://github.com/dwrensha/capnproto-rust ).
comment by gliptic · 2014-06-17 · in FlatBuffers: a memory efficient serialization library -
Author here. The makefiles I'm using are on github: https://github.com/dwrensha/capnproto-rust/blob/master/Makef... https://github.com/dwrensha/capnproto/blob/benchmark/c%2B%2B... I compiled libcapnp with the latest Clang g++ that ships…
comment by renshaw · 2013-11-19 · in Capnproto-rust vs. C++