• xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    48
    ·
    10 months ago

    Most of the work software developers do is comprehending the problem, formulating a solution that addresses the problem, and doing it in a maintainable, performant, and security conscious manner.

    I think AI can write a killer isEven() method, I think it’s shit at everything I listed… it’s extremely shit at being security conscious, any dev can tell you that it’s easier to write code and confirm it’s following best security practices then it is to review someone’s code and confirm it’s following best security practices… I think AI actively makes it harder to have confidence in security.

    The first real part of my job I think AI will help with is performance tuning. We’re not there yet but I think we’re not unimaginably far from being able to give an AI a working but slow function and have a computer spin up a million randomized test inputs and outputs… then start scrambling the algorithm in a plethora of ways and testing the performance while confirming that the test cases pass.

    Then again, you’ll need to confirm the algorithm is still secure - but I think the realm of performance is the first place we’d see a tool that I’d demand a license for.

    • ForgotAboutDre@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      All the AI does is match the request to solutions it was trained in.

      It just stackoverflow in your ide. It has a little more flexibility in answering and isn’t as corrupted by SEO result when googling the equivalent answer. Its not informed and thinking.

      The optimisation problems you are talking about is the process that is used to make AI models in the first place. I think you want an AI to configure optimisation routines for you rather than build the test cases and variables yourself. Or you want some system that implement all the individual components better, but an AI that can optimise the entire thing isn’t coming about soon. It would need to trained on very similar software. In which case you should just use that better software.