algebra
Libraries for finite field, elliptic curve, and polynomial arithmetic (by arkworks-rs)
Clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/ (by rust-lang)
Our great sponsors
algebra | Clippy | |
---|---|---|
2 | 106 | |
412 | 9,100 | |
6.3% | 3.2% | |
8.0 | 9.9 | |
4 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
algebra
Posts with mentions or reviews of algebra.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-30.
-
Example of how of `disallowed_method` Clippy lint in Rust 1.54 can be quite handy
Is ark a prefix Embark is using for all their Rust crates, or is it a one-off name for your future crate? If so, it might collide with our naming convention in the arkworks ecosystem: arkworks.rs
Clippy
Posts with mentions or reviews of Clippy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-19.
- Why is holding std sync locks across awaits not caught by the compiler?
-
Weird clippy error that only appears on CI
Fix almost_swapped false positive (let mut a = b; a = a)
-
What “sucks” about Golang?
I wish Google would invest more in go vet so it could do many of the things for which we currently rely on hobby-level tools that are rarely matured and often abandoned. ESLint, Clippy, and even clang-tidy show how much more comprehensive and mature lint suites can be, despite Go being easier to analyze than those languages.
-
What I learned from contributing to Rust's linter
This audit of lints from 2020 was in the back of my mind. I knew adding a lint that was widely ignored would only be bad for Clippy.
-
Wondering if my project can be ported to rust
I believe a rust zero sized array ([T; 0]) inside of a #[repr(C)] struct behaves the same way as in GCC (can’t find a reference for it, but this thread kinda implies it), outside of that you might be able to use #[repr(align(n))] to achieve the same thing. Rust also contains unsized types, which can only be accessed through a layer of indirection, most prominently dyn Trait which is used for dynamic dispatch and [T] which is a contiguous piece of memory, the pointer to which stores its length.
-
PSA: Clippy seems to break incremental cache compilation
Issue is here: https://github.com/rust-lang/rust-clippy/issues/10354
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
Can you perchance reduce your code to a reproducer? We had some perf problems within clippy recently (notably #10134), perhaps clap's macro expands to something that triggers this?
-
Is Clippy Fully Integrated?
it's integrated (current repo is here: https://github.com/rust-lang/rust-clippy/), just do cargo clippy
when you say "clippy's repo hasn't been updated since 2019", which repo are you talking about? If I google for rust clippy, the first hit I get is this: https://github.com/rust-lang/rust-clippy which has commits yesterday.
-
Hey Rustaceans! Got a question? Ask here! (51/2022)!
I guess the way to go here would be asking to extend the needless_return clippy lint to also check for returns whose expressions diverge. Feel free to open an issue for this.
What are some alternatives?
When comparing algebra and Clippy you can also consider the following projects:
vscode-rust
rustfmt - Format Rust code
rust.vim - Vim configuration for Rust.
intellij-rust - Rust plugin for the IntelliJ Platform
Rust for Visual Studio Code
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
sublime-rust - The official Sublime Text 3 package for the Rust Programming Language
CodeLLDB - A native debugger extension for VSCode based on LLDB
Cargo - The Rust package manager
emacs-ycmd - Emacs client for ycmd, the code completion system.
cargo-update - A cargo subcommand for checking and applying updates to installed executables
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.