portable-simd
config-rs
portable-simd | config-rs | |
---|---|---|
19 | 11 | |
816 | 2,332 | |
2.0% | - | |
8.7 | 8.2 | |
21 days ago | 8 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache 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.
portable-simd
- Rust-lang/portable-SIMD: The testing ground for the future of portable SIMD
-
Let's thank who have helped us in the Rust Community together!
Jubilee and Caleb Zulawski for their tireless work on the portable SIMD project. It will land, some day, and when it does it's going to be an amazing boon for the project.
-
Mutually aligned vectors?
The portable SIMD project implements an as_simd() function for slices. The basics are that you get 3 slices and the middle one is a SIMD slice. It allows for fast aligned loads of the data, which could matter if your algorithm is becoming memory bound; it is also a convenient and safe abstraction. In my case, I actually have 2 vectors (say, x and y). I can take them apart using as_simd() like so:
- Code review: deinterlacing a RGBA colour buffer with std::simd
-
Base64 Encoding Performance: Java vs Rust
Rust has generics and monomorphization. You can write the algorithm once and compile for multiple targets. rust-lang/portable-simd
-
Zen4's AVX512 Teardown
This Rust issue [0] was the best short summary of what an SIMD Shuffle is I could find:
„A "shuffle", in SIMD terms, takes a SIMD vector (or possibly two vectors) and a pattern of source lane indexes (usually as an immediate), and then produces a new SIMD vector where the output is the source lane values in the pattern given.“
[0] https://github.com/rust-lang/portable-simd/issues/11
-
possibility of blas natively in Rust
Yet by default it generates code which is only compatible with Pentium4 or newer. In fact lots of serious issues relate to older CPUs and rustc developers plan is to declare them closed when they would be able to drop i686 support (all AMD CPUs which support SSE2 support x86-64, too while Intel situation is mess).
-
Best portable simd library for stable rust?
The standard API crate for portable simd is at https://github.com/rust-lang/portable-simd, but using this requires nightly, which I don't want to do. I'd like to use a crate for simd that works on both x86_64 and wasm in stable rust. wide looks fine for this purpose. Are there any potentially better choices?
-
Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
See: https://github.com/rust-lang/portable-simd
-
Hey Rustaceans! Got a question? Ask here! (28/2022)!
As for portable SIMD, there's relatively recent activity (last commit 20 days ago) on this repository: https://github.com/rust-lang/portable-simd
config-rs
-
Hey Rustaceans! Got a question? Ask here (49/2023)!
I like config.rs, but I am struggling to overwrite config profiles with environment variables. The desired config is mixed, like .toml
-
Is there a pydantic.BaseSettings equivalent in rust?
Consider config crate. It could be like:
-
How do you store and pass credentials?
I've been using Config most of the time. I also use once_cell to make it a static variable.
-
How do you manage configuration in rust?
I've enjoyed using this one: https://crates.io/crates/config
- Blessed.rs – An unofficial guide to the Rust ecosystem
-
Hey Rustaceans! Got a question? Ask here! (28/2022)!
Anyone know of a library like https://github.com/netflix/go-env but for rust? I found https://github.com/mehcode/config-rs but it's just not as simple...
-
How do you merge config in Rust with a default?
I was just in that space today. The config crate has an example you might find useful: https://github.com/mehcode/config-rs/tree/master/examples/hierarchical-env
-
[ANN] cfg-rs 0.2.0 release
How it differs from config?
-
Best way to set environment for Rust App
Checking an environment variable is very easy with std::env::var or similar. If you have other bits of configuration that also change—which is typical; things like DB connection strings—you may consider a more full-featured solution like https://docs.rs/config/0.10.1/config/ (pay particular attention to this example, which seems to be very close to what you want: https://github.com/mehcode/config-rs/blob/master/examples/hierarchical-env/src/settings.rs ).
-
Good way to set up default configurations
It's unfortunate, it looks like there was an attempt to get someone else to maintain it here, but no one ended up really stepping up to the plate.
What are some alternatives?
fast_image_resize - Rust library for fast image resizing with using of SIMD instructions.
confy - 🛋 Zero-boilerplate configuration management in Rust
rust-base64 - base64, in rust
docs.rs - crates.io documentation generator
faster-hex - fast hex
itconfig-rs - Easy build a configs from environment variables and use it in globally.
cargo-about - 📜 Cargo plugin to generate list of all licenses for a crate 🦀
comtrya - Configuration Management for Localhost / dotfiles
ulid-rs - This is a Rust implementation of the ulid project
cargo-xtask
ulid-lite - Generate unique, yet sortable identifiers
rq - Record Query - A tool for doing record analysis and transformation