inlinable-dyn-extension-traits
patterns
Our great sponsors
inlinable-dyn-extension-traits | patterns | |
---|---|---|
4 | 63 | |
23 | 7,699 | |
- | 2.3% | |
0.0 | 7.5 | |
over 3 years ago | 6 days ago | |
Rust | Handlebars | |
- | Mozilla Public 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.
inlinable-dyn-extension-traits
-
gdbstub 0.6: An ergonomic, #![no_std] implementation of the GDB Remote Serial Protocol in Rust - now with async support!
In the meantime, you could check out daniel5151/optional-trait-methods for some chicken-scratch notes + exploration on IDETs, including some code samples which you can throw right into godbolt.org to see how well they optimize.
-
Post-Monomorphization Dead Code Elimination and Other Unwritten Blog Posts
Funny enough, I've also been meaning to write a full blog post about it, but haven't found the time! In the meantime, I've got a rough overview of this technique as part of the gdbstub docs, and I've got a WIP repo of example code and exploratory notes that explores the technique in more detail (along with comparing it with alternative approaches)
-
Rust 2030 Christmas list: Better cfg
Also, check out daniel5151/optional-trait-methods if you haven't already (I point to it near the end of the gdbstub documentation I linked). It's a very rough overview of all the various techniques I considered before landing on IDETs, and includes several simplified examples of how the resulting APIs might work from a implementation and user's perspective.
-
Designing a new architecture for Rspotify based on trait inheritance, need opinions
I've spent quite a bit of time staring at assembly output and performing in-application testing to make sure that optimizations were being triggered as expected.
patterns
- Best practices for designing traits in public crates?
-
Ask HN: Learning new coding patterns – how to start?
For OOP design patterns in Rust, see: https://rust-unofficial.github.io/patterns/
For a book on FP, see: https://www.manning.com/books/grokking-simplicity
- Haskell mini-patterns handbook (2020)
- Is there any site with Dos and Don'ts in Rust?
-
Functional Options Pattern in Go and Rust
Just wanting to let this here for some further input: - https://rust-lang.github.io/api-guidelines/ - https://rust-unofficial.github.io/patterns/ - https://deterministic.space/elegant-apis-in-rust.html
-
Rust exercices for tech interview
Rust Design Patterns
-
I want some help learning design patterns
I know about Rust Design Pattern what are your reviews for the same?
-
I've been writing C# for nearly a decade, but I want to learn how to build programs with Rust. What do I need to change about how I structure my code?
Once you've finished with The Book and possibly Programming Rust, 2nd Edition if you've got the cash for a paid book, read Learning Rust With Entirely Too Many Linked Lists (it helps to solidify what ownership and borrowing mean for data structures) and Rust Design Patterns.
-
Is there a coding style and set of best-practices that avoid (not bypass) "fighting the borrow checker"?
Well, there's https://rust-unofficial.github.io/patterns/ for a start.
-
Comprehensive Rust 🦀 is now available in Korean!
Love the translation pipeline, currently looking into adopting that as well for the Rust patterns book!
What are some alternatives?
gdbstub - An ergonomic, featureful, and easy-to-integrate implementation of the GDB Remote Serial Protocol in Rust (with no-compromises #![no_std] support)
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
binrw - A Rust crate for helping parse and rebuild binary data using ✨macro magic✨.
rust-typed-builder - Compile-time type-checked builder derive
intertrait - A library providing direct casting among trait objects implemented by a type
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
book - The Rust Programming Language
idiomatic-rust - 🦀 A peer-reviewed collection of articles/talks/repos which teach concise, idiomatic Rust.
vulkano - Safe and rich Rust wrapper around the Vulkan API
ring - Safe, fast, small crypto using Rust
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
rfcs - RFCs for changes to Rust