borrowme
The missing compound borrowing for Rust. (by udoprog)
jpv
My personal Japanese dictionary based on JMdict (by udoprog)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
borrowme
Posts with mentions or reviews of borrowme.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
Müsli - An experimental binary serialization framework with more choice
"Borrow heuristics" saves a lot of configuration. It's basically just the macro analyzing the type signature of fields for references and with that it can do the right thing 95% of the time. If those lifetimes weren't there I suspect it would mean having to use a helluvalot of attributes to make up for the lack of markup doing it the other way around (think of cases where there's multiple lifetimes). Unclear how it should work for nested types too, like how you'd want Vec> to be a Vec>. Some strange attribute would be needed I think.
-
borrowme 0.0.10 - the missing compound borrowing for Rust
I noted in my comment above that I was working on it. Here's the current PR.
jpv
Posts with mentions or reviews of jpv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
I don’t understand zero copy
I'm about to release my dictionary project in a little while, and it uses zero copy deserialization for its dictionary files. You can map the file directly into memory and with the "right" kind of data structure you don't have to perform additional work or buffering to do dictionary lookups. I blogged about it in more in detail here.
-
borrowme 0.0.10 - the missing compound borrowing for Rust
The most recent foray happened because I had a bunch of borrowing database types like this (which can borrow a lot thanks to musli) and I needed to use them in yew to build a fancier user interface. So instead of copy pasting this time I opted to build this macro instead. And to me it's saved me a lot of code.
What are some alternatives?
When comparing borrowme and jpv you can also consider the following projects:
musli - Müsli is a flexible and generic binary serialization framework
bounded-static - A Rust crate that defines the ToBoundedStatic and IntoBoundedStatic traits
algebra - Libraries for finite field, elliptic curve, and polynomial arithmetic
rkyv - Zero-copy deserialization framework for Rust
json - Strongly typed JSON library for Rust