libyaml transpiled to rust by c2rust (by dtolnay)

Unsafe-libyaml Alternatives

Similar projects and alternatives to unsafe-libyaml

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

unsafe-libyaml reviews and mentions

Posts with mentions or reviews of unsafe-libyaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-28.
  • Rust for backend. Is it recommended?
    4 projects | reddit.com/r/rust | 28 Feb 2023
    The same is not true for CLIs, especially CLIs that don't use async networking. The space has matured incredibly well and almost everything you touch is bulletproof. Clap 4 with derive macros is one of the best libraries of any kind in any language I've ever used. Rayon makes totally safe parallel processing look like a rigged demo that can't possibly be real. Reading and writing JSON and TOML is silky smooth and fast, YAML is held together with sticky tape but it works too. There are incredible libraries like crossterm and tui to make terminal interfaces better and easier and more portable than anything in Go. People say Go is good for CLIs, but I think they must be comparing to Java or something, because Rust runs circles around Go for CLIs, and in ways that end users notice too.
  • C2Rust Transpiler
    7 projects | news.ycombinator.com | 20 Oct 2022
    I used it with great success for transpiring libyaml from C to Rust. I even set up Miri to run the upstream library's entire transpiled test suite, and the fact it passes is validation of absence of UB in the original C code.

    The transpiled library now serves as the YAML backend for the widely used serde_yaml crate. Having serde_yaml be pure-Rust code instead of linking C is advantageous for painless cross-compilation as well as making downstream projects runnable in Miri.



Basic unsafe-libyaml repo stats
3 days ago

dtolnay/unsafe-libyaml is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives