• US White House urges devs to dump C and C++

    From Nightfox@eric.oulashin@gmail.com to All on Wed Feb 28 14:28:55 2024
  • From esc@46:1/111 to Nightfox on Thu Feb 29 05:21:43 2024
    https://www.infoworld.com/article/3713203/white-house-urges-developers-to- c-and-c.html

    As someone that's stumbled into the pitfalls of neglecting appropriate memory management in my own c code, I gotta say this feels like a good recommendation.

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (46:1/111)
  • From Bob Worm@46:20/111 to esc on Thu Feb 29 20:00:43 2024
    Re: Re: US White House urges devs to dump C and C++
    By: esc to Nightfox on Thu Feb 29 2024 05:21:43

    As someone that's stumbled into the pitfalls of neglecting appropriate memory management in my own c code, I gotta say this feels like a good recommendation.

    Most of the stuff I do in BASIC is poorly thought out pointer based peril... Luckily(?) on the Acorn where I do most of that there's no memory protection so you're acutely aware of your errors thanks to having to reboot after encountering each one :)

    BobW
    --- SBBSecho 3.20-Linux
    * Origin: >>> Magnum BBS <<< - bbs.magnum.uk.net (46:20/111)
  • From Nightfox to esc on Fri Mar 1 12:25:07 2024
    Re: Re: US White House urges devs to dump C and C++
    By: esc to Nightfox on Thu Feb 29 2024 05:21 am

    https://www.infoworld.com/article/3713203/white-house-urges-developers-to
    -
    c-and-c.html

    As someone that's stumbled into the pitfalls of neglecting appropriate memory management in my own c code, I gotta say this feels like a good recommendation.

    I feel like switching entirely to a different programming language could be a bit excessive.. Though it can be easy to forget/neglect that sometimes.

    If you're using C++, modern C++ has some things that can help (smart pointers such as shared_ptr, unique_ptr, etc)..

    Nightfox