corrode
C to Rust translator (by jameysharp)
openjpeg
Official repository of the OpenJPEG project (by Neopallium)
corrode | openjpeg | |
---|---|---|
3 | 2 | |
2,143 | 2 | |
- | - | |
0.0 | 3.4 | |
about 5 years ago | about 1 year ago | |
Haskell | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
corrode
Posts with mentions or reviews of corrode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-01.
-
C2rust: Transpile C to Rust
Back in the day there was also Corrode: https://github.com/jameysharp/corrode
-
lipstick: a Rust-like syntax frontend for C
Some intersection with https://github.com/jameysharp/corrode in theory right? Maybe it's saner actually to start with corrode-to-lipstick (there has to be a good project name here) and then it's perhaps easier to turn lipstick into safe Rust?
- Modern C and What We Can Learn from It [video]
openjpeg
Posts with mentions or reviews of openjpeg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-15.
-
Emitting Safer Rust with C2Rust
5. c2rust expands macros and constants from `#define`. Being able to do side-by-side comparison of the C code will help with adding constants back in and removing expanded code with Rust macros or just normal Rust functions.
[0] https://github.com/Neopallium/openjpeg/tree/master/openjp2-r...
-
C2rust: Transpile C to Rust
I just started using c2rust on openjpeg [0] (jpeg 2000 encoder/decoder) today and already have it working as a drop in replacement for the C libopenjp2.so on Linux. Still has a lot of unsafe code, but it does work. Which will be a big help with testing during refactoring to idiomatic safe Rust.
c2rust also has a refactor command that helps with refactoring the generated Rust code.
[0] https://github.com/Neopallium/openjpeg/tree/c2rust
What are some alternatives?
When comparing corrode and openjpeg you can also consider the following projects:
datatype99 - Algebraic data types for C99
qcms - Rust color management
c2rust - Migrate C code to Rust
catacomb_ii-64k - Rust port of Catacomb II (SDL)
llvm-cbe - resurrected LLVM "C Backend", with improvements
lipstick - You _can_ put lipstick on a pig
interface99 - Full-featured interfaces for C99