RustFFT 6.2 Released with WASM SIMD Acceleration Support
RustFFT version 6.2 has been released! This is a high-performance FFT (Fast Fourier Transform) library written entirely in Rust, supporting SIMD acceleration. The 6.2.0 version extends RustFFT’s support for WASM SIMD extensions. Overall, this version’s SIMD support includes AVX, AVX2, SSE4.1, Neon, and WASM SIMD (along with a non-SIMD fallback path).
Based on the benchmark performance tests in this PR, users computing 32-bit FFTs with WASM can expect a speedup of 1.5x-2x after upgrading to version 6.2, while users computing 64-bit FFTs can expect a speedup of 1.1x-1.5x.
GitHub repository link: https://github.com/ejmahler/RustFFT PR link: https://github.com/ejmahler/RustFFT/pull/120
Tool for Rendering Codebase Entropy of Rust Projects Using 3D Force-Directed Graphs
A user named GabrielMusat shared a project that recently added Rust support: dep-tree. This tool allows users to visualize the complexity of a codebase using 3D force-directed graphs.
The tool takes an entry point of a Rust codebase (usually src/lib.rs or src/main.rs), calculates dependencies on other source files based on mod and use statements, and recursively crawls these statements to collect the imported source files.
This graph is rendered using a force-directed layout, placing all crawled files in three-dimensional space, simulating attractive/repulsive forces based on their dependencies. Clean, loosely coupled codebases tend to form separate clusters of nodes in 3D space, while tightly coupled, chaotic codebases show all nodes clustered together with no clear separation.
With this tool, users can choose crates with well-organized APIs.
The author also provided examples of well-known projects rendered with this graph:
- deno
- polars
- alacritty
- bevy
- rocket
- axum
GitHub repository link: https://github.com/gabotechs/dep-tree
Reddit Post: Rudric – Stop Storing Secrets in .env Files!
Rudric is a simple secret management command-line tool designed to avoid storing sensitive data in .env files. Rudric allows users to store secret data in an encrypted form on disk and easily decrypt and set secret values in the environment. Instead of storing sensitive data in .env files, use a .renv file to store secret names, such as GITHUB_TOKEN={{personal_github_token}}. After running rudric env | source, you will be prompted to enter the vault password, and then the secret names will be decrypted and set as environment variables in the current shell session.
Secrets can be edited and renamed after creation, which will be done using your default EDITOR (or VISUAL) program. You can even set a session variable to avoid repeatedly entering the password. The program uses TUI crates like dialoguer, making the interaction with the command-line interface feel very refreshing.
It is important to note that Rudric is not a full-featured password manager like BitWarden, 1Password, or Proton Pass; it is simply a way to help developers maintain good security practices.
GitHub repository link: https://github.com/mike-lloyd03/rudric
— From the Daily Team RustPlumber
Community Learning and Exchange Platform Subscription:
- Rust.cc Forum: supports RSS
- WeChat Official Account: Rust Language Chinese Community