What an absolute shitshow

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 2 months ago (11 children)

Rust is absolutely not faster or easier than C. It’s safer but that’s it.

Depends on what you mean by "easier". It is easier to write safe code in Rust.

  • source
  • parent
  • hideshow 11 child comments
  • [–] 5 points 2 months ago (3 children)

    Memory safe!

    Not any other kind of safety.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 2 months ago (2 children)

    Yes, that's what Rust is about.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 months ago (6 children)

    Depends on what you do, really.

    Dangers of this project:

    • compatibility in edge-cases
    • experts of their tool vs. jokel of all
    • maturity of the code
    • scope creep
  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 2 months ago (5 children)

    No, it does not depend on what I do. In Rust it is by definition easier to write safe code than in C.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 5 points 2 months ago (4 children)

    Sure does. If the tool was used for 50 years and 1000s times checked (also by criminals), your reimplementarion will not be safer for a whole while, memory safety or not. Especially with that huge scope.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 months ago* (3 children)

    Ehm, thats not what I said? Let try me again: If you write code in C and in Rust, both spend about 5 years time and check them equally often, with equally amount of experience, then it is by default easier to write the safe code in Rust. Because Rust is safe by default.

    If you compare a new project to an old project, that has nothing to do with my statement.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 2 months ago* (2 children)

    But we have the context "Rust coreutils" here.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 months ago (1 child)

    The statement I was referring to and answering to wasn't in context. It was an absolute statement about the language itself:

    Rust is absolutely not faster or easier than C. It’s safer but that’s it.

    I am not suggesting that throwing decades old tested and developed code is immediately safer than rewriting it from scratch. Sometimes a rewrite (be it in same language or different) might result in better code, given time. But that is not what I was replying and discussing to.

  • source
  • parent
  • hideshow 1 child comment