SaferCPlusPlus-AutoTranslation2

auto-conversion of C source files to a memory-safe subset of C++ (by duneroadrunner)

SaferCPlusPlus-AutoTranslation2 Alternatives

Similar projects and alternatives to SaferCPlusPlus-AutoTranslation2

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

SaferCPlusPlus-AutoTranslation2 reviews and mentions

Posts with mentions or reviews of SaferCPlusPlus-AutoTranslation2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.
  • United States White House Report on Memory Safe Programming [pdf]
    5 projects | news.ycombinator.com | 28 Feb 2024
    Hi pizlonator, I'm working on a solution with similar goals (I think), but a bit of a different approach. It's a tool that auto-translates[1] (reasonable) C code to a memory-safe subset of C++. The goal is to get it reliable enough that it can be simply inserted as an (optional) build step, so that the source code can be maintained in its original form.

    I'm under the impression that you're more of a low-level/compiler person, but I suggest that a higher level language like (a memory-safe subset of) C++ actually makes for a more desirable "intermediate representation" language, as it's amenable to maintaining information about the "intent" of the code, which can be helpful for optimization. It also allows programmers to provide manually optimized memory-safe implementations for performance-critical parts of the code.

    The memory-safe subset of C++ is somewhat analogous to Rust's in terms of performance and in that it depends on a non-trivial static checker, but it imposes less onerous restrictions than Rust on single-threaded code.

    The auto-translation tool already does the non-trivial (optimization) task of determining whether any (raw) pointer is being used as an array iterator or not. But further work to make the resulting code more performance optimal is needed. The task of optimizing a high-level "intermediate representation" language like (memory-safe) C++ is roughly analogous to optimizing lower-level IR languages, but the results should be more effective because you have more information about the original code, right?

    I think this project could greatly benefit from the kind of effort you've displayed in yours.

    [1]: https://github.com/duneroadrunner/SaferCPlusPlus-AutoTransla...

  • Upcoming Changes to C++ : Bjarne Stroustrup, Gabriel Dos Reis.
    2 projects | /r/cpp | 22 Feb 2023
    Part of the reason the proposed static analyzer has to be so ambitious is because it's trying to validate (i.e. verify as safe) as much existing/legacy code as possible. An alternative approach is to autoconvert existing code to new code that is easier to verify as safe. One advantage of this approach is that in instances where you cannot (yet) statically verify safety, you can convert to (new) elements that may resort to run-time safety mechanism when necessary. With access to the full range of safety-performance tradeoffs, this approach can (fully) safen a much larger set of legacy code then any static analyzer alone could.
  • Some thoughts on safe C++
    5 projects | /r/cpp | 25 Dec 2022
    There's also some support for autoconverting legacy C code that is not performance critical to use the library and conform to a safe subset of C++.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    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 →

Stats

Basic SaferCPlusPlus-AutoTranslation2 repo stats
4
8
0.0
about 2 years ago

duneroadrunner/SaferCPlusPlus-AutoTranslation2 is an open source project licensed under Boost Software License 1.0 which is an OSI approved license.


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