C for Rust Programmers

(bd103.dev)

6 points | by torutofu 12 hours ago

2 comments

  • xyzzy_apps 3 hours ago
    I've tried to build a C like rust transpiler - https://github.com/xyzzyapps/carbide

    I hope it can be useful for writing C ABI bindings especially for things like CLAP audio plugins. Writing C ABI plugins in Rust is needlessly painful. Crystal has a much easier way to write C bindings.

  • mizmar 12 hours ago
    That linked stackoverflow post about dereference operators is really interesting. I guess it answers my question why do most struct members in posix have a prefix abbreviating name of the containing struct.