White House urges developers to dump C and C++::Biden administration calls for developers to embrace memory-safe programing languages and move away from those that cause buffer overflows and other memory access vulnerabilities.

top 50 comments

sorted by: hot top controversial new old
[–] 73 points 2 years ago (5 children)

I’m not sure what to think about this. It’s bizarre, the White House making any recommendations on programming languages.

They’re definitely not seen as an authority in this field. Why would anyone care what recommendation they make? And so why make one at all?

  • source
  • hideshow 9 child comments
  • [–] 62 points 2 years ago (1 child)

    They’re definitely not seen as an authority in this field. Why would anyone care what recommendation they make?

    It's possible that they are acting on the advice of advisors who are authorities in this field.

    And so why make one at all?

    I expect it's because information and industrial security are components of national security, which is of great concern to them, and those things depend on software.

    I'm not surprised to see this, given that state-sponsored electronic attacks are on the rise these days.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 2 years ago (3 children)

    This is exactly why people sound sophomoric when they say "lobbying needs to go!" There are some drastic problems with lobbying as it is allowed now, but the last thing we need is the government regulating things they know nothing about without the input of experts. On top of that, it's nonsense that I can't pass my local councilman on the street and stop and push them to spend more time addressing important issues like climate change.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 10 points 2 years ago (1 child)

    It's important to remember that the argument against lobbying isn't about the broadest sense of the word "lobbying", but rather about corporations and other moneyed interests having unfair and unhealthy influence over the laws that govern everyone else.

    The people who decry lobbying probably agree with you; they're just using the word in an implicitly narrow context.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (2 replies)
  • [–] 11 points 2 years ago

    There have been words around this, like how software should be safe by design, but the regulation should come from the governing entity. This is simply materialized now, but there has been momentum.

  • source
  • parent
  • load more comments (1 reply)
    [–] 61 points 2 years ago

    Gov is getting rusty

  • source
  • [–] 56 points 2 years ago (1 child)

    I agree, let's start with dumping Windows.

  • source
  • hideshow 2 child comments
  • [–] 43 points 2 years ago (2 children)

    Team Fortran raise up, but not too fast our old bones aren't as strong as they used to be.

  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [–] 42 points 2 years ago (2 children)

    Good luck with that, C/C++ are still crazy popular

  • source
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (5 children)

    Damn, it’s been like 25 years since I touched either of those. Aside from OS development, do people really do that anymore?

  • source
  • parent
  • hideshow 7 child comments
  • [–] 9 points 2 years ago

    C++ is also the standard in game dev. You may see some C# here and there, but most engines, public available or otherwise, are built on C++.

    If it is a AAA game, I can assure you it is most likely made with C++.

  • source
  • parent
  • load more comments (3 replies)
  • [–] 38 points 2 years ago (2 children)

    I think we should politicize code. It seems so unfettered by politics so far while so many other things are nicely split amongst party lines. Seems like maybe the Republicans should embrace C and the democrats can have python or something.

  • source
  • hideshow 4 child comments
  • [–] 18 points 2 years ago* (4 children)

    Republicans get C, Java, Lua, and C++; Democrats get Ada, Rust, C#, and Python; Libertarians get Zig, TCL, Julia, and Ocaml for some reason.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 15 points 2 years ago (2 children)

    Ruby is just one guy, Vermin Supreme

  • source
  • parent
  • hideshow 4 child comments
  • [–] 14 points 2 years ago (1 child)

    I thought this is a tech space, but you've just made a lot of people Republicans.

    One would also expect Ada to be Republican.

    And can libertarians please have Common Lisp?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 2 years ago (1 child)

    Ada could never be republican, on the basis that it's named after a british woman scientist. I don't think she's on record as a feminist, but that's about the only thing that would make her "worse" in their eyes

    Also why do the democrats only get languages for people who don't care about performances ? /s ^(it's just a prank bro)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 2 years ago

    I was thinking about the association of the Ada language with defense stuff, and also her being Byron's daughter, which is more specific than being British, I'm not sure she'd complain about associations with Republicanism, but then this can also be interpreted in favor of libertarians.

    No, the question is valid about weird selection of languages for Democrats. I think what they meant is that separation of various issues between parties is orthogonal to any sane logic, so we should do this with programming languages too.

    Also I want to know who gets Erlang.

  • source
  • parent
  • load more comments (2 replies)
  • [–] 29 points 2 years ago (1 child)

    C/C++: so bad that even the white house takes notice 😂

  • source
  • hideshow 2 child comments
  • [–] 24 points 2 years ago (1 child)

    C isn't bad. It has been a good portable assembly language for ages, and remains so today. What's problematic is continuing to use it where more advanced languages now make more sense.

    I won't defend C++, though. I'm happy to kick it to the curb now that better alternatives are gaining traction.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 years ago

    The problem with C++ is not the lack of safety features. It's the ever lasting backwards compatibility that is keeping it both alive and down at the same time.

    Having to support 50 year old code, is going to limit any restriction you place. But it is usually the restrictions that make a language good.

    Example: You can write perfectly good modern C++ code without any pointers. But pointers are so ingrained into the language, that it is impossible to remove them.

  • source
  • parent
  • [–] 26 points 2 years ago (1 child)

    Probably a good idea, plenty of languages out there that can give good performance while being memory safe nowadays.

  • source
  • hideshow 2 child comments
  • [–] 18 points 2 years ago

    Wtf, I thought this was a meme...

  • source
  • [–] 9 points 2 years ago (1 child)

    segmentation fault (c and c++ dumped)

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 8 points 2 years ago

    Good reason to not drop C and C++

  • source
  • [–] 8 points 2 years ago

    “We, as a nation, have the ability—and the responsibility—to reduce the attack surface in cyberspace and prevent entire classes of security bugs from entering the digital ecosystem but that means we need to tackle the hard problem of moving to memory safe programming languages,” National Cyber Director Harry Coker said in the White House news release.

    o7

  • source
  • [–] 5 points 2 years ago
    [–] 4 points 2 years ago

    Can’t we just bring back Forth and call it a day?

  • source
  • load more comments
    view more: next ›