|1 day ago||4 days ago|
|GNU General Public License v3.0 or later||GNU General Public License v3.0 or later|
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.
GPU computing on Apple Silicon
7 projects | reddit.com/r/rust | 30 Nov 2021
Now, I wish I could recommend Rust itself as a shading language, but https://github.com/EmbarkStudios/rust-gpu is still in its infancy.
Rust-CUDA: writing and executing extremely fast GPU code fully in Rust
It turns out that when wgpu is combined with rust-gpu, it can run rust on gpus too
(on the "builder" directory it builds shaders with the spirv-builder crate)
The best way to do it is probably the way rust-gpu does it: https://github.com/EmbarkStudios/rust-gpu/blob/main/docs/src...
The entry point of the kernel would supply any objects that have special properties.
Blender 3.0 takes support for AMD GPUs to the next level
5 projects | news.ycombinator.com | 16 Nov 2021
I'd ask why wouldn't you want that?
I think this is more promising: https://github.com/EmbarkStudios/rust-gpu
Has anyone seriously considered C++AMP? Thoughts / Experiences?
2 projects | reddit.com/r/gpgpu | 12 Nov 2021
Yes, Vulkan GPU source is split, though technically in a way that makes it more similar to CUDA. Vulkan uses an intermediate format instead of consuming text code directly, meaning new features are easier to add and frontend code doesn't need to be passed to the vendors driver compiler. SPIR-V is like DXIL or PTX code for CUDA, basically LLVM IR for GPUs. The CUDA compiler compiles your device code into PTX code, and it's what enables you to have "non split" source code. There's even an option to have separate PTX code in CUDA. There are few projects that aim to bring Vulkan SPIR-V into source, including Rust GPU for rust (though it will still have to be in a separate file) and Circle C++ shader for C++.
3 projects | reddit.com/r/rust | 30 Oct 2021
This is the first release of autograph rebuilt on SPIR-V compute shaders that can be compiled from Rust source with rust-gpu!
Doing M1 MacBook Pro (M1 Max, 64GB) Compile Benchmarks!
37 projects | reddit.com/r/rust | 26 Oct 2021
Also I want to know about https://github.com/EmbarkStudios/rust-gpu/.37 projects | reddit.com/r/rust | 26 Oct 2021
Hey Rustaceans! Got an easy question? Ask here (43/2021)!
14 projects | reddit.com/r/rust | 25 Oct 2021
There's a few ways to do it. The low-level method is to write a HLSL shader then use something like vulkan to run it (vulkano example). If you want a 100% rust method, then wgpu and rust-gpu exists to let you define your shaders directly in rust while they handle more of the boilerplate.
How import a local workspace into another workspace?
1 project | reddit.com/r/rust | 2 Dec 2021
I'm building on tandem some crates that are not on crates.io.
How to read-in a file line-by-line as integer?
2 projects | reddit.com/r/rust | 1 Dec 2021
You'll find that in https://crates.io/ (or https://lib.rs/ for a third-party one) for crate listings, and https://docs.rs/ for documentation on third-party crates.
new crates from an aspiring-Rustacean: owasp-headers and tower-default-headers
1 project | reddit.com/r/rust | 25 Nov 2021
Interpreter in Rust
3 projects | reddit.com/r/rust | 24 Nov 2021
nom is another crate you may want to look at for parsing. I personally have no experience with serde_expr. There's also just going on https://crates.io/ and searching for terms like "parsing", "parser", etc. Look for packages that have a decent number of downloads and have been updated fairly recently.
How are generics compiled?
1 project | reddit.com/r/learnrust | 24 Nov 2021
Technically, it's similar to C++ std::vector ; You have a ".h" file somewhere in C++ that other people use as the ABI-free representation. Your ".a" or ".so" uses mangled (but consistent to the compiler) symbol names. Rust, however, doesn't have a ".h" (thank god), but that means you can't link to the ".so" without access to source code. In general, (and I have no idea) it's not safe to cross link two projects in rust - God help you if you linked a nightly against an older rustc. Monorepos or open-source crates.io / github links are mostly what I see.
Does this effect people that just want to use Rust for their programming project?
1 project | reddit.com/r/rust | 24 Nov 2021
The moderation team doesn't moderate crates.ioHelping uphold the code of conduct and community standards"
What do you NOT like about Rust?
18 projects | reddit.com/r/rust | 21 Nov 2021
I also understand that the Rust team doesn't "want to take sides", but IMHO, there should be a curated list of well-supported libraries with a good track record, or some sort of epic filtering function in crates.io (but maybe I've missed it, because I'm adverse to installing dependencies unless I _really_ have to, or an alternative implementation gives much better performance, such as crossbeam vs std channels).
pigeon-rs: Open source email automation written in Rust
5 projects | reddit.com/r/rust | 20 Nov 2021
Finally, I think, a compiled binary is handy for command line tools. Admittedly, you have to compile it first, which will take some time. But then you can put ~/.cargo/bin to your PATH, install the latest version from crates.io via cargo install pigeon-rs, and use the binary from everywhere. In Python you would need an alias first because otherwise you would always have to type python3 path/to/python/file. And might have to worry that the command line arguments are piped to the python executable?
Why are so many important features not in standard library yet?
9 projects | reddit.com/r/rust | 20 Nov 2021
When using Rust, there are so many idiomatic must-have features that are simply not in the standard lib. Some of the ones I know that are extremely popular (according to downloads on crates.io) and are used/recommended in almost every tutorial:
Rust Foundation - Hello Everyone! How Can I Help? (First blog post from new CEO)
2 projects | reddit.com/r/rust | 18 Nov 2021
If you're worried about corporate sponsors having control of the Foundation, then you need to find a different way to solve it. Maybe make membership conditional on good quality participation in the ecosystem (crates.io, users.r-l.o etc) so that you're able to get membership by contributing usefully to Rust's community, even if you can't commit the time to code etc?
What are some alternatives?
are-we-learning-yet - How ready is Rust for Machine Learning?
wgpu - Safe and portable GPU abstraction in Rust, implementing WebGPU API.
RustaCUDA - Rusty wrapper for the CUDA Driver API
plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
gtk4-rs - Rust bindings of GTK 4
wgpu-rs - Rust bindings to wgpu native library
hash-shader - SHA256 Compute Shader (Kernel) Written in Rust
VkFFT - Vulkan/CUDA/HIP/OpenCL Fast Fourier Transform library
makepad - Makepad is a creative software development platform for Rust that compiles to wasm/webGL, osx/metal, windows/dx11 linux/opengl
embassy - Rust Embedded async executor and HALs
rust-notes - My Rust learning repository. :crab:
smithay - A smithy for rusty wayland compositors