prost
bitbox02-firmware
Our great sponsors
prost | bitbox02-firmware | |
---|---|---|
14 | 74 | |
3,513 | 208 | |
4.6% | 3.4% | |
8.3 | 8.9 | |
4 days ago | 2 days ago | |
Rust | C | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prost
-
Fivefold Slower Compared to Go? Optimizing Rust's Protobuf Decoding Performance
The benchmark is not comparing apples to apples.
prost is the most widely used Protobuf implementation in Rust, maintained by the Tokio organization. prost generates structs and serialization/deserialization code for you.
easyproto according to GitHib Search is used only by two projects. easyproto provides primitives for serializing and deserializing Protobuf, and requires hand writing code to do both.
A fair comparison would be prost vs google.golang.org/protobuf, or easyproto vs parts of quick-protobuf.
In most cases you can make Go as fast as Rust, but from my experience writing performance-sensitive code in Go requires significantly larger time investment and overall requires deeper language expertise. Pebble (RocksDB replacement in Go by CockroachDB) is a good example of this, the codebase is littered with hand-inlined[1] functions, hand-unrolled loops and it's not[2] even using Go memory management for performance critical parts, it's using the C memory allocator and manual memory management.
[prost]: https://github.com/tokio-rs/prost
- How Turborepo is porting from Go to Rust
-
Hey Rustaceans! Got a question? Ask here! (49/2022)!
You could use Protocol buffers to define a message type, then use prost to generate encoding/decoding code for that type.
- Adding #derive to a struct defined in another place
-
grpc gateway
Thanks but that doesn't seems to support `json_mapping` , there is a draft available but not sure when it will get merged https://github.com/tokio-rs/prost/pull/558
-
[help] Tonic-build: how to generate generic service definition?
Hi r/rust, I have a question regarding tonic-build (or prost-build).
-
Unwrapping inner values from the enum more easily?
Currently, I'm making some stuff by using protobuf via prost. Maybe you know, protobuf v3 treats all fields as optional, so it is pain to unwrap every nested field.
- Best way to communicate between Rust and Go?
-
Past, present and future of rust-protobuf
Note: one additional key feature currently missing from Prost is Proto2 extensions.
- Does prost [protocol buffers for rust] use tokio runtime to implement GRPC service?
bitbox02-firmware
-
Nano ledger replacement
I'm looking at this, you can see a comparison when you scroll down: https://bitbox.swiss/bitbox02/
-
Hardware wallets
Bitbox02 - https://bitbox.swiss/bitbox02/
-
12 or 24 word seed and why?
I also implemented BIP-85 just recently.
- Spent $3000 on other wallets, most are in the mail, will update full breakdown here!
-
For the People Sticking with Closed Source Hardware Wallets - Addressing Your Arguments [SERIOUS]
Here's the repository for the firmware of BitBox02: https://github.com/digitalbitbox/bitbox02-firmware
-
Okay, BitBox02 is super safe open-source wallet, how can I be sure the firmware I'm installing is the one being reviewed in GitHub? Should I compile the GitHub code by myself?
Complementary to that, you can also download the official release from https://github.com/digitalbitbox/bitbox02-firmware/releases and install it manually using command line tools, after verifying it is legit by reproducing it. Or build the app yourself after checking that the bundled firmware is correct.
-
Destroyed my ledger and thinking of buying a Bitbox and Trezor
At the bottom of this page, they concisely explain what they mean for each entry in the table and why they give that specific score. For this in particular, they consider the setup easier because you can backup to an (offline) SD card instead of writing it down manually.
-
Daily General Discussion - May 19, 2023
I decided on this: https://shiftcrypto.ch/bitbox02/
-
Couple of questions
There you go: https://github.com/digitalbitbox/bitbox02-firmware/pull/1069
-
Thinking about switching to bit box
The firmware code is open source and can be found here. The official releases are built from this code in a reproducible fashion. The community is able to verify that currently the only two ways of exporting the seed are via the 24 words displayed on the BitBox02 screen or onto a microSD card inserted directly into the device. If there are other unintended ways, it might be a bug, and should be sent to us as part of our bug bounty program.
What are some alternatives?
rust-protobuf - Rust implementation of Google protocol buffers
trezor-firmware - :lock: Trezor Firmware Monorepo
tonic - A native gRPC client & server implementation with async/await support.
firmware - ❄️ Firmware and simulator for Coldcard Hardware Wallet
cargo-raze - Generate Bazel BUILD from Cargo dependencies!
specter-diy - DIY airgapped hardware wallet that uses QR codes for communication with the host
varint-simd - Decoding and encoding gigabytes of LEB128 variable-length integers per second in Rust with SIMD
Bitcoin.org - Bitcoin.org Website
ts-proto - An idiomatic protobuf generator for TypeScript
raspibolt - RaspiBolt v3: Bitcoin & Lightning full node on a Raspberry Pi
prost - PROST! a Protocol Buffers implementation for the Rust Language
bitbox-wallet-app - The BitBoxApp for desktop and mobile.