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. Learn more →
Refcell-cpp Alternatives
Similar projects and alternatives to refcell-cpp
-
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.
-
codechecker
CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a better refcell-cpp alternative or higher similarity.
refcell-cpp reviews and mentions
Posts with mentions or reviews of refcell-cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
-
Enforcing Memory Safety?
Using infer, someone else exploited null-dereference checks to introduce simple affine types in C++. Cppcheck also checks for null-dereferences. Unfortunately, that approach means that borrow-counting references have a larger sizeof than non-borrow counting references, so optimizing the count away potentially changes the semantics of a program which introduces a whole new way of writing subtly wrong code.
-
A quick look at free C++ static analysis tools
I notice there isn't fbinfer. It's pretty cool, and is used for this library.
-
The State of Affine Types in C++?
- borrow-cpp which exploits some null dereference checks in the infer static analyzer to model some of borrow checking.
-
a Rust-style borrow checker for C++, with (partial) compile-time check support
A longer version: I am very interested in the Rust borrow memory model and I did a cpp version of it (https://github.com/shuaimu/borrow-cpp). Initially all the checks are at runtime, which already eases some debugging issues for me. I have been trying to add some compile-time check. It wasn't very successful for many months. I tried playing with the type systems, which Google has pointed out that it is not possible (https://docs.google.com/document/d/e/2PACX-1vSt2VB1zQAJ6JDMaIA9PlmEgBxz2K5Tx6w2JqJNeYCy0gU4aoubdTxlENSKNSrQ2TXqPWcuwtXe6PlO/pub). I also tried many static analysis tools, including cppcheck, clang/clang-tidy, and MSVC (the most recent one with lifetime support). I had high hopes for them but then I found they mainly support single function/file level check. Simply splitting code into different functions or creating some alias/pointers can bypass them. Or in other cases (like MSVC) the checker would mark everything as (false) positives. The other day I came across Facebook's Infer and it seems to have implemented a Rust-like lifetime checker. So I tested it with my borrow-cpp and it seems to work well. It can accurately tells which line of code violates the rule. After searching online no one seems to have found or done this, though many are asking if we can bring the compile-time borrow checker from Rust into cpp. Now we are one step closer!
-
A note from our sponsor - InfluxDB
www.influxdata.com | 7 May 2024
Stats
Basic refcell-cpp repo stats
4
54
4.4
about 2 months ago
shuaimu/refcell-cpp is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of refcell-cpp is C++.
Popular Comparisons
Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com