-
Repo
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Another way to "turn off the borrow checker" is to compile with mrustc: https://github.com/thepowersgang/mrustc
-
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?
-
I'm really surprised that the LLVM C backends have continually been resurrected then abandoned over the years. It's a good solution to this sort of thing and would enable a lot of cool stuff like Rust to weird embedded platforms. The most recent one is the Julia backend: https://github.com/JuliaComputingOSS/llvm-cbe
-
I've done something similar with Datatype99 and Interface99. They are like a macro eDSL that compiles to C. The first one features algebraic data types, the second one features interfaces.
-
I've done something similar with Datatype99 and Interface99. They are like a macro eDSL that compiles to C. The first one features algebraic data types, the second one features interfaces.
-
I think the most advanced approach for C to Rust currently is https://github.com/immunant/c2rust. But year I had the idea of having a rustly compile to C intermediate language as well. C2Rust currently does a massive transpile step in the beginning. I am not sure if lipstick has the right properties for this though, but having a language that compiles back to C would allow for a gradual translation.