Rust
1. Rust
properties
ID: 7dd61019-39f3-4706-bfc4-ea48bf76da9cCREATED: <2025-01-18 Sat 20:46>
- The Rust Book
- Rust By Example
-
notes
rustc is the Rust compiler. It is rarely invoked directly by the programmer, but rather indirectly through Cargo. Use the
--verboseflag to see howrustcis called, for example in:cargo build --verbose- The compiler has many options
- The Cargo Book
- Philosophies of Rust and Haskell :hs:
- Rust cryptography libraries: A comprehensive list - LogRocket Blog
- heapsize - syn proc_macro example
- redox-os · GitLab
- Embedded Rust documentation
- GitHub - rust-embedded/wg: Coordination repository of the embedded devices Working Group
- xtensa-rust-quickstart/main.rs at master · MabezDev/xtensa-rust-quickstart · GitHub
- rust/config.rs . github
- Async iterators and generators - JakeArchibald.com
- Introduction - Rust and WebAssembly
- GStreamer / gstreamer-rs · GitLab
- why async fn in traits are hard :async:
- std::pin - Rust
-
- todo macros for code that is not yet written -
unimplemented!
makes no such claims.
- todo macros for code that is not yet written -
- Traits that should be in std, but aren't - libs - Rust Internals
- Macros in Rust :macros:
- The Little Book of Rust Macros :macros:
1.1. Applications
properties
ID: 904d11ec-1ea4-4644-a685-8520752e1be2CREATED: <2026-06-06 Sat 22:05>
1.1.1. Garage  s3
properties
ID: b0c5a8e7-9da3-4628-b174-3de07247fb6dCREATED: <2026-06-06 Sat 22:05>
S3-compatible object store for small self-hosted geo-distributed deployments.
- available via pacman (extra/garage)
1.2. Libraries
properties
ID: 8fbe9da2-1d6a-43bc-bd89-cf448d43eab8CREATED: <2025-03-03 Mon 15:08>
1.2.1. Serde
properties
ID: ffb4e87c-e265-4549-91f9-093e714708c0CREATED: <2025-02-06 Thu 18:59>
important part of the Rust ecosystem, another dtolnay contribution. If you want to program a data format in the Rust ecosystem, this is how you do it.The way it works is that you define some special structs, a Serializer and a Deserializer which implement the Serialize and Deserialize traits provided by serde, respectively.
You can use these structs to provide your public API. The conventional choice is public top-level functions like from-str and to-string. That's it, your serialization library can now read and write your data format as Rust data types.
- the default behavior is an externally tagged representation (verbose)
The docs use strings as core IO when implementing a custom format, but the convention is to implement for T where T is bound by std::io Read or Write trait. Then you can provide a more robust public API (from_bytes, from_writer, etc).
1.2.2. Xorf
properties
ID: c36a08f7-5fbe-4313-928b-a55636aaf20aCREATED: <2025-03-16 Sun 17:48>
edges
– [BROKEN LINK: github:https://github.com/ayazhafiz/xorf/]
XOR Filters
1.2.3. Dalek
properties
ID: 79ad4134-5182-4001-b404-faeb9abd2474CREATED: <2025-03-03 Mon 15:09>
1.2.4. Quinn  rust
properties
ID: f10769f7-cf9b-4bb5-ada9-d499af348f9dCREATED: <2025-01-17 Fri 23:14>
logbook
- Refiled on
GitHub - quinn-rs/quinn :END: Async-friendly QUIC implementation in Rust
1.3. Rust != C
properties
ID: bb68152d-1794-47d8-86c0-03eb7f9256d7CREATED: <2025-02-06 Thu 18:59>
Rust is not C. C is old, i.e. well-supported with a stable ABI,
making the process of creating bindings for a C library a breeze in
many languages.
For a Rust library we need to first appease the compiler, as explained in this section of the Rustonomicon. Among other things it involves changing the calling-convention of functions with a type signature and editing the Cargo.toml file to produce a C-compatible ABI binary. The Rust default ABI is unstable and can't reliably be used like the C ABI can.
1.4. Articles
properties
ID: b11ad05a-5d5f-4974-9364-c3eebb9d15d8CREATED: <2025-03-03 Mon 20:54>
- WebAssembly Search Tools for Static Sites - Andrew Healey
- Graf, Thomas Mueller and Lemire, Daniel 2020
- A Tiny, Static, Full-Text Search Engine using Rust and WebAssembly | Matthias Endler
- uses XOR Filters HashProxies and bincode to serialize storage from a json file
- I Built A Snappy Static Full-text Search with WebAssembly, Rust, Next.js, and Xor Filters
- A Tiny, Static, Full-Text Search Engine using Rust and WebAssembly | Matthias Endler
- Introduction to High-Level Synthesis from Rust
- Introduction - Poplar
1.5. RFCs
properties
ID: 85f9f317-c6ef-4085-98be-db982b27a193CREATED: <2025-03-07 Fri 21:52>
1.5.1. cargo-script
properties
ID: 5ffb08b8-d27d-4b1f-ae05-03da0207ccdfCREATED: <2025-03-07 Fri 22:03>
1.6. best practices
properties
ID: ea2f3f8e-1c8c-4c05-b16c-fb197d346409https://rust-lang.github.io/api-guidelines/documentation.html also: https://lisp-lang.org/style-guide/