Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Friday November 13 2015, @10:24AM   Printer-friendly
from the Obfuscated-Rust-Competition-doesn't-sound-right dept.

In spite of my status and obvious bias as co-creator of D, I'll do my best to answer candidly; I follow Go and Rust, and I also definitely know where D's dirty laundry is. I'd encourage people with similar positions in the Rust and Go communities to share their honest opinion as well. So here goes.

First off, C++ needs to be somewhere in the question. Whether it's to be replaced alongside C, or be one of the candidates that's supposed to replace C, the C++ language is a key part of the equation. It's the closest language to C and the obvious step up from it. Given C++'s age, I'll assume in the following that the question also puts C++ alongside with C as a target for replacement.

Each language has a number of fundamental advantages (I call them "10x advantages" because they are qualitatively in a different league compared to at least certain baselines) and a number of challenges. The future of these languages, and their success in supplanting C, depends on how they can use their 10x advantages strategically, and how they overcome their challenges.

[Another way to look at this is to ask "What is wrong with C?" and then assess how well these languages solve those problems. -Ed.]


Original Submission

 
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: 2) by Subsentient on Saturday November 14 2015, @01:03AM

    by Subsentient (1111) on Saturday November 14 2015, @01:03AM (#262941) Homepage Journal

    Or you can just not be an idiot, and not do implicit signed-unsigned conversions. I make extensive use of unsigned int in my code. It causes *far* fewer issues than you think. It also helps to know the integer promotions and conversion rules as specified in the C standard, which I do.

    --
    "It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by JoeMerchant on Saturday November 14 2015, @05:16AM

    by JoeMerchant (3937) on Saturday November 14 2015, @05:16AM (#263073)

    I refer mainly to disparate legacy code that I'm attempting to graft together, so often I have been left fighting with signed vs unsigned in places where it was totally irrelevant to make it unsigned in the first place. Just a personal frustration, type-casting is usually easy enough, but sometimes C++ can be a pain about it.

    --
    🌻🌻 [google.com]