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: 4, Insightful) by Gravis on Friday May 08 2015, @09:36PM

    by Gravis (4596) on Friday May 08 2015, @09:36PM (#180496)

    no matter what language you use, if you...

    • are a shitty programmer...
    • don't know how to use a debugger...
    • think memory management is too complicated...
    • don't understand what you are doing...

    then you are going to write shitty code.

    Starting Score:    1  point
    Moderation   +2  
       Insightful=2, Total=2
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2, Insightful) by dmbasso on Friday May 08 2015, @09:52PM

    by dmbasso (3237) on Friday May 08 2015, @09:52PM (#180506)

    To that I add:

    • don't write tests

    then you are going to write minefield code.

    But hey, fuck whoever has to maintain it later, not your problem.

    --
    `echo $[0x853204FA81]|tr 0-9 ionbsdeaml`@gmail.com
  • (Score: 3, Insightful) by bug1 on Saturday May 09 2015, @12:11AM

    by bug1 (5243) on Saturday May 09 2015, @12:11AM (#180568)
    • hurry