News for hackers. Stuff that matters.
Re:How is AI impacting science? by mycall on Saturday December 30, 2023 @07:03PM (#38820510)
This is where AI agents will shine as you give it the test cases it needs to meet and it will write the code to that specification AND verify those through writing unit tests, executing the code then verifying the results.

English as a programming language makes this all work.

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @08:10PM (#38820907)
You have to know how to write useful test cases to know it works, etc

Some of the comments here actually freak me out.

Re:How is AI impacting science? by Balgair on Saturday December 30, 2023 @08:31PM (#38820994)
I'd think you'd be positively appalled by the state of code in academia then.

It's kludge after hot patch after voodoo incantation. I once worked on a computer that under no circumstances could it be put on the web. It was running Windows 98 in ~2017 and was only used for a single program to control an instrument. I know for a fact that it's still online and running. It was slow as all get out, but no one had any kind of time, let alone gumption, let alone skill, to try to bring it up a millennium.

Re:How is AI impacting science? by aragilar on Saturday December 30, 2023 @09:49PM (#38821325)
Most academic code is written fairly naively (it's usually the code that's written by people who have some idea and try to be "smart" that's a problem), and so can be cleaned up and made maintainable pretty easily. If AI causes more "smart" code to be written, that's going to make things worse.

On old hardware/software, that's normal, and will continue to be normal, simply because the value is in the instrument, and money spent trying to get the software/drivers to work on more modern systems would be better spent on buying a new and better instrument. The only way this would change is if we force all hardware vendors to fully open-source (and ideally upstream) their code (look at the whole IoT ecosystem).

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @11:08PM (#38821694)
This is a good point, using an LLM means that writing even more smart code is now unlocked.

One still needs to find that balance between smart, functional / practical and maintainable. That’s the art of coding.

Re:How is AI impacting science? by nitwit005 on Saturday December 30, 2023 @09:36PM (#38821268)
People will still write a vague or incorrect description, and any AI will presumably have some error rate. You can't escape verification.