Whenever I see people talk about the portability or compatibility advantages of C, I'm reminded of how "even C isn't compatible with C", because you typically aren't talking about up-to-date GCC or LLVM on these niche platforms... you're talking about some weird or archaic vendor-provided compiler... Possibly with syntax extensions that static analyzers like splint will choke on. (Splint can't even understand near... Source: about 1 year ago
Huh. I think I actually needed to use the equivalent position for certain splint annotations in my C retro-hobby project. Source: about 1 year ago
I often like to say that Rust's bindings are a way to trick people into writing the compile-time safety annotations that they didn't want to write for things like splint. (Seriously. Look into how much splint is capable of checking with the correct annotations.). Source: about 1 year ago
Linters like Splint [0] can do that for C. I’m not saying that Rust’s built-in approach isn’t better, but please be careful about what exactly you claim. [0] http://splint.org/. - Source: Hacker News / over 1 year ago
(Sort of like how, for my DOS hobby project, I use splint to require explicit casts between typedefs so I can use the newtype pattern without having to manually reach into wrapper struct fields in places that don't do conversions.). Source: over 1 year ago
Tuple-based error returns with manual checking every time? "Generics for me and not for thee" APIs for collections? Structural typing when I already use splint to retrofit newtype-esque type-checking onto typedefs for my Open Watcom C/C++ DOS retro-hobby project? No thanks. Source: over 1 year ago
I wasn't aware their name changed, but, now that I am, I have to say that I'm not a fan of the new name. It sounds like it's competing with Clippy or splint, not Qt Quick or Flutter. Source: almost 2 years ago
(and I've been taking cues from Rust to find ways to make my code more robust. Things like using splint in my makefile so that explicit casts are required between typedefs like row and column or taking a cue from Rust, Pascal, and the IBM BIOS int APIs and writing my own string slice struct and string handling functions... Which make zero-copy parsing and "allocate on the stack in a higher frame and pass in as an... Source: about 2 years ago
Yeah, I used tool called Splint . Splint detected that problem. Source: over 2 years ago
Do you know an article comparing Splint to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Splint. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.