rust-phf
Voila
rust-phf | Voila | |
---|---|---|
15 | 13 | |
1,727 | 90 | |
1.5% | - | |
4.8 | 0.0 | |
about 2 months ago | about 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
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.
rust-phf
-
Railwind 0.1.2 - A Tailwind compiler rewritten in Rust
could you create compile-time maps with https://github.com/rust-phf/rust-phf ? that way you don't pay the performance penalty of reading the ron files at runtime
-
Static reference to generic implementation
However I'm still stuck for the matching between packet and handler. Phf map (static maps) doesn't support mapping to enum so I have to make a matching clause :
-
What's everyone working on this week (4/2023)?
Have you seen the crate phf?
-
Hey Rustaceans! Got a question? Ask here! (37/2022)!
Maybe phf will come handy?
-
const string memory usage question
This is sort of an aside, but turning a not small index into a match statement is probably going to use more memory than the base data and suck for compile time. Might be smarter to include the index as bytes for ex with include! and interpret it directly. You could precompile a hash table with something like rust-phf: https://github.com/rust-phf/rust-phf.
-
How to pass data from build script to binary crate?
A great example of how this is typically done is the phf crate: https://github.com/rust-phf/rust-phf
-
Be still my static heart
https://github.com/rust-phf/rust-phf comes to mind.
-
How does Rust implement matching against strings?
If you’re looking for something like gperf: https://github.com/rust-phf/rust-phf
- Announcing Rust 1.56.0 and Rust 2021
-
Memory efficient hashmap?
Are all the keys known at compile-time? If so https://github.com/rust-phf/rust-phf might be best.
Voila
-
How to pass data from build script to binary crate?
My lazy solution on https://github.com/Alonely0/Voila compilation was to format-debug it at compile time, pass it as env var and parse it at runtime.
-
Are there any big projects written in Rust without any use of unsafe code?
Voila. It is a domain-specific-language for interacting with large collections of files.
- [media] Czkawka 3.3.0 released to clean your similar pictures, duplicated data, broken files etc.
- FileClassed, a CLI efficient file organizer, written in rust
-
Whats your favourite open source Rust project that needs more recognition?
Voila
-
What's everyone working on this week (41/2021)?
A compiler for my domain-specific language (right now it's interpreted) https://github.com/Alonely0/Voila
-
(New Discussion) What are you working on right now?
I'm working on a rust library for using the new syscall memfd_secret, and also in voila, a domain-specific language for operating with insane quantities of files and directories.
-
[realease] gzp - multi-threaded compression library v0.4.0 now on rayon
i added the compression functions, and they work like a charm! https://github.com/Alonely0/Voila/releases/tag/1.3.0
-
What do you do when you can’t sleep?
i like coding, rust my last project is Voila. you can check my profile here
-
Is it possible to write anything using 100% safe Rust?
yup, check what i made with 100% safe rust (the first line in main.rs literally makes impossible to use unsafe rust) https://github.com/Alonely0/Voila
What are some alternatives?
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
tio - CLI tool for interacting with the IOTA Tangle, written in Rust 🦀
bumpalo - A fast bump allocation arena for Rust
exa - A modern replacement for ‘ls’.
string-cache - String interning for Rust
walkdir - Rust library for walking directories recursively.
rust - Empowering everyone to build reliable and efficient software.
sauce - A tool to help manage context/project specific shell-things like environment variables.
patterns - A catalogue of Rust design patterns, anti-patterns and idioms
mcpp - Minecraft server written in C++
sharded - Safe, fast, and obvious concurrent collections in Rust.
FileClassed - A simple batch file classer