nilaway

Static analysis tool to detect potential nil panics in Go code (by uber-go)

Nilaway Alternatives

Similar projects and alternatives to nilaway

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nilaway alternative or higher similarity.

nilaway reviews and mentions

Posts with mentions or reviews of nilaway. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Go: What We Got Right, What We Got Wrong
    22 projects | news.ycombinator.com | 4 Jan 2024
    I would have more respect if they at least admitted to the flawed type system but instead say it is not a problem. It is disappointing to see past mistakes repeated in a new programming language. Even the Java language creator was humble enough to admit fault for the null pointer problem. The Go devs do not have such humility.

    https://github.com/uber-go/nilaway

  • Practical nil panic detection for Go
    4 projects | news.ycombinator.com | 18 Nov 2023
    We'd be interested in the general characteristics of the most common ones you are seeing. If you have a chance to file a couple issues (and haven't done so yet): https://github.com/uber-go/nilaway/issues

    We definitely have gotten some useful reports there already since the blog post!

    We are aware of a number of sources of false positives and actively trying to drive them down (prioritizing the patterns that are common in our codebase, but very much interested in making the tool useful to others too!).

    Some sources of false positives are fundamental (any non-trivial type system will forbid some programs which are otherwise safe in ways that can't be proven statically), others need complex in-development features for the tool to understand (e.g. contacts, such as "foo(...) returns nil iff its third argument is nil"), and some are just a matter of adding a library model or similar small change and we just haven't run into it ourselves.

Stats

Basic nilaway repo stats
3
2,774
8.7
6 days ago

uber-go/nilaway is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of nilaway is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com