Skip to content

Very bad advice - off putting - in 10.2: A little Rust with your C #362

@worikgh

Description

@worikgh

This is a minor point, and can be fixed by removing the offending sentence. But is is an offensive (in a technical sense) sentence.

I am coming to this chapter via a web search for calling Rust from C

It says this:

Apart from cargo and meson, most build systems don't have native Rust support. So you're most likely best off just using cargo for compiling your crate and any dependencies.

Coming from the perspective of 90k lines of C code, a build system that has been sweated over, saying "you're most likely best off just using cargo" is saying "get lost, we do not care about you".

Removing that sentence - especially right at the start - would help.

Integrating with Make is a bare minimum for calling Rust from C

I am in a situation of settling onto a new job with a project that is over 90k lines of C, so not huge, but significant. I would like to point my new boss at resources that help explain why new capabilities could be added in Rust - a possibility.

I cannot point them here. If I were my boss (thirty years programming Linux modules in C) and I saw that, I would stop reading.

All that said I must finish with: Well done! Keep up the good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions