Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
arendjr ( arendjr@programming.dev )  to Programming@programming.devEnglish · 1 year ago

Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk

thenewstack.io

external-link
message-square
15
link
fedilink
  • cross-posted to:
  • tech@pawb.social
51
external-link

Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk

thenewstack.io

arendjr ( arendjr@programming.dev )  to Programming@programming.devEnglish · 1 year ago
message-square
15
link
fedilink
  • cross-posted to:
  • tech@pawb.social
This is the government's strongest stance yet on software security, which puts manufacturers on notice: fix dangerous coding practices or risk being labeled as negligent.
alert-triangle
You must log in or # to comment.
  • wewbull ( wewbull@feddit.uk ) 
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 year ago

    That sounds like policy written by somebody who has no idea what the reality of software development is.

    1 year to rewrite critical software in a new language?

    • nous ( nous@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      49
      ·
      1 year ago

      Did you read the article at all?

      “Putting all new code aside, fortunately, neither this document nor the U.S. government is calling for an immediate migration from C/C++ to Rust — as but one example,” he said. “CISA’s Secure by Design document recognizes that software maintainers simply cannot migrate their code bases en masse like that.”

      Companies have until January 1, 2026, to create memory safety roadmaps.

      All they are asking for by that date is a roadmap for dealing with memory safety issues, not rewrite everything.

    • GetOffMyLan ( GetOffMyLan@programming.dev ) 
      link
      fedilink
      arrow-up
      18
      ·
      1 year ago

      That sounds like a comment written by somebody who has no idea what the article says

  • sp3ctr4l ( sp3tr4l@lemmy.zip ) 
    link
    fedilink
    arrow-up
    36
    ·
    1 year ago

    … Are the Feds aware that the core systems that many, many older companies (and government agencies) use are still based on COBOL?

    Is… is that not of any concern?

    • aubeynarf ( aubeynarf@lemmynsfw.com ) 
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      Is COBOL subject to buffer overflows and use-after-free bugs? I honestly don’t know.

      I don’t recall the COBOL code I’ve read using pointers.

      • sp3ctr4l ( sp3tr4l@lemmy.zip ) 
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        The problem I am aware of is moreso that the number of programmers that know COBOL is vanishingly small, it … COBOL does not seem to really be taught anymore…

        …so if something goes wrong at that level, you may be SOL if you cannot find an increasingly rare programmer that knows COBOL well.

    • tyler ( tyler@programming.dev ) 
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      The article says this isn’t to affect existing code.

  • mox ( mox@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    1 year ago

    Don’t assume too much from the headline, folks. They’re not saying everything has to be rewritten by 2026. They’re saying new product lines serving critical infrastructure should be written in memory-safe languages, and existing ones should have a memory safety roadmap.

    If you’re about to post about how you think that’s unreasonable, I think you should explain why.

  • Sonotsugipaa ( Sonotsugipaa@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    That is an extremely oddly specific cysec issue they’re choosing to target…

  • MyNameIsRichard ( MyNameIsRichard@lemmy.ml ) 
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    Feds have found a way to hack rust /s?

    • sp3ctr4l ( sp3tr4l@lemmy.zip ) 
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      DARPA has unironically been funding a tool that purports to translate C / C++ into Rust…

      https://www.darpa.mil/program/translating-all-c-to-rust

      • lud ( lud@lemm.ee ) 
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        That’s nice.

  • jia_tan ( jia_tan@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    🦀🦀🦀

  • NauticalNoodle ( NauticalNoodle@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    is Rust ready for this?

  • Primer - Zip ( Primer81@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Just from reading the article, is the scope just critical software infrastructure? What does that encompass exactly? Banking and military software seems easy to assume - what about embedded medical device software? Or just embedded software in general?

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 82 users / day
  • 562 users / week
  • 1.78K users / month
  • 4.27K users / 6 months
  • 447 local subscribers
  • 26.6K subscribers
  • 2.43K Posts
  • 20K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code