Top 8 C# Static Analysis Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SharpSource
surfacing defects at compile time and preventing issues that would otherwise go unnoticed
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
mongo-csharp-analyzer
The MongoDB Analyzer is a free tool that helps you understand how your code translates into the MongoDB Query API.
Project mention: Is breaking out from an infinite async iterator via cancellation considered a code smell? | /r/dotnet | 2023-06-09👍 I've reported an issue here, let's see how it goes. I think it will probably be turned down 🙂
Project mention: Classes vs. Structs in .NET. How not to teach about performance | news.ycombinator.com | 2023-11-04How is that relevant to the vast majority of the code targeted by LINQ?
The niche scenario you have outlined is partially covered by a recent System.Numerics.Tensors package update (even though I believe it would have been best if there was a community-maintained package with comparable quality that can be decoupled from .NET release cycle and trade-off support/compat guarantees in favour of more aggressive improvements in the future).
The goal of LINQ itself is to offer optimal codepaths when it can within the constraints of the current design (naturally, you could improve it significantly if not for backwards compatibility with the previous 15 or so years of .NET codebases). The argument that it's not good because it's not the tool to do BLAS is just nonsensical.
There is, however, an IL optimizer that can further vectorize certain common patterns and rewrite LINQ calls into open-coded loops: https://github.com/dubiousconst282/DistIL
C# Static Analysis related posts
Index
What are some of the best open-source Static Analysis projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Cpp2IL | 1,444 |
2 | security-code-scan | 910 |
3 | Meziantou.Analyzer | 833 |
4 | sonar-dotnet | 715 |
5 | DistIL | 108 |
6 | OneNoteAnalyzer | 104 |
7 | SharpSource | 27 |
8 | mongo-csharp-analyzer | 22 |
Sponsored