Stories
Slash Boxes
Comments

SoylentNews is people

posted by CoolHand on Friday May 08 2015, @09:01PM   Printer-friendly
from the off-with-its-head dept.

Ladies and gentlemen, the C programming language. It’s a classic. It is blindingly, quicksilver fast, because it’s about as close to the bone of the machine as you can get. It is time-tested and ubiquitous. And it is terrifyingly dangerous.

The author's biggest issue with the C language seems to be security holes:

If you write code in C, you have to be careful not to introduce subtle bugs that can turn into massive security holes — and as anyone who ever wrote software knows, you cannot be perfectly careful all of the time.

The author claims that the Rust language is a modern answer to these issues and should replace C (and C++). It does look that Rust can run C code, so it looks like an interesting proposition. What do Soylent's coders think about this?

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Saturday May 09 2015, @04:34AM

    by Anonymous Coward on Saturday May 09 2015, @04:34AM (#180639)

    That's total bullshit. C++ offers determinism, yet it's way fucking faster than Rust is.

    Your comparison only holds true for Rust. It does hold true for C++. That means that Rust is flawed.

  • (Score: 2) by LoRdTAW on Saturday May 09 2015, @05:25PM

    by LoRdTAW (3755) on Saturday May 09 2015, @05:25PM (#180808) Journal

    What's bullshit? I pointed out that GC isn't determinism friendly. Duh.

    • (Score: 0) by Anonymous Coward on Saturday May 09 2015, @11:13PM

      by Anonymous Coward on Saturday May 09 2015, @11:13PM (#180889)

      You didn't fucking mention garbage collection at all.

      You said determinism is slow, as an excuse for Rust being really fucking slow. But C++ offers determinism, and it's blazing fast.

      The problem is that Rust is shit.