18 pointsby ingve7 hours ago7 comments
  • singularity20013 minutes ago
    A subset of the language keeps getting better and better you just need to ignore the demon of many decades of bloated nonsense. So for new projects it can even be pleasant until you run into something that makes you wanna go rust
  • nacozarinaan hour ago
    C++ is so bloated that every project must outlaw multiple parts of it from being used on their project. Using the whole language is an explicit antipattern.

    Every project must colonize a valley of the language, declare a dialect, and bit-fiddle their own thing.

    It might be a measure of popularity, but not of unity.

    • estimator729222 minutes ago
      That's how all programming languages work. Have you used 100% of the features in any language you've used? Ever?
    • i_am_a_peasant21 minutes ago
      to this day i don’t know what people mean by “features”.

      Lambdas are nice to have, just don’t nest them more than once.

      I kinda wish things like std::variant had shorter syntax.

      if anything i’m not a fan of c++ introducing language features as long verbose functions than to confidently make it an operator or a keyword.

  • rzerowanan hour ago
    Yeah C++ isnt going away anytime soon - its not even in the COBOL phase of its lifetime despite the rise of Rust/Go as systems languages.

    However it would be imperative for a push such as Carbon[1] to be similar to the kotlin to Java. A modernisation that simplifies , maintains backwards/forwards compatibility and reuses established libraries and tooling.

    This however will need a entity that can champion and push it forward with a strong enough project to anchor it in the mainstream.The transitions are doable ,like Android dev from plain java to kotlin , or in OSX moving from Objective-C to Swift.

    Additionally borrowing a robust batteries type standard library to reduce the sprawl of coding options and funnel greenfield projects into best practices and less boilerplate.

    [1] https://www.infoworld.com/article/2337225/beyond-c-the-promi...

  • ramon156an hour ago
    All the following statements can live without colliding.

    - The current CPP version is extremely bloated

    - CPP is not going away anytime soon

    - The rise of Rust/Go/Zig is not fighting for CPP's seat

    - You can target CPP code using any of these aforementioned languages

    - Rust has never claimed to be "safer", it just makes it harder to write unsafe code

  • 33 minutes ago
    undefined
  • pornel2 hours ago
    Growth of CUDA gave it a second chance.
  • paperplaneflyr7 hours ago
    So C, C++, and Rust programmers will be in demand, and other languages will shrink? Does this also relate to rising DRAM costs, which will make memory-efficient code more usable as we head into an unseen future?
    • estimator729219 minutes ago
      The costs of hardware will take a long time to percolate up to software architecture, if they ever do.

      Until current computers cycle out, people will largely keep their 1-3 year old machine with sane amounts of memory. If we start seeing large numbers of machines in the wild with 4GB of memory, then maybe software will adapt. But that won't be for several years yet.

    • RadiozRadiozan hour ago
      It definitely doesn't relate, the time horizon is wrong. The software needs much longer to change, and that change needs much longer to appear in the job market. Compared to the timeframe in the article DRAM prices have only just spiked up now.

      Projecting into the future, hardware expenses have always been dwarfed by salaries. I don't expect that will change enough for it to be noticeable.