makeit
Zero-overhead type-safe builder pattern `derive` macro for your Rust structs (by estebank)
const-eval
home for proposals in and around compile-time function evaluation (by rust-lang)
Our great sponsors
makeit | const-eval | |
---|---|---|
1 | 6 | |
219 | 99 | |
- | - | |
0.0 | 3.8 | |
11 months ago | 9 months ago | |
Rust | CSS | |
- | Apache License 2.0 |
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.
makeit
Posts with mentions or reviews of makeit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-06.
-
Hey Rustaceans! Got a question? Ask here! (23/2022)!
The best alternative I can think of is a typestate pattern similar to the one in https://github.com/estebank/makeit where instead of using marker parameter types to indicate that a field hasn't been set you use those markers to indicate that a field should be set to some default type.
const-eval
Posts with mentions or reviews of const-eval.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-30.
-
After years of work and discussion, `once_cell` has been merged into `std` and stabilized
Here's the issue: https://github.com/rust-lang/const-eval/issues/20
-
Are there examples of programming language compilers that evaluate the side-effect free parts of the program at compile-time?
A similar idea is proposed here for Rust
-
Why is `const fn` different from other “const” things?
See also the const-eval project
-
Question: reference str in array and Vec
This is explained in more detail here: https://github.com/rust-lang/const-eval/blob/master/promotion.md
-
Hey Rustaceans! Got a question? Ask here! (23/2022)!
This is due to const-promotion. The compiler recognizes the array expression can be a constant and so treats it like one.
- Who owns the struct of instantiated reference?
What are some alternatives?
When comparing makeit and const-eval you can also consider the following projects:
metrics
ledger-filecoin-rs
bad_actor_poc
book - The Rust Programming Language
winit - Window handling library in pure Rust
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
The-Spiral-Language - Functional language with intensional polymorphism and first-class staging.
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
maud - :pencil: Compile-time HTML templates for Rust