Comments on: Self-healing code is the future of software development https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/ Essays, opinions, and advice on the act of computer programming from Stack Overflow. Thu, 15 Jun 2023 11:29:42 +0000 hourly 1 By: Rob https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3212640 Tue, 20 Jun 2023 11:29:00 +0000 https://stackoverflow.blog/?p=22280#comment-3212640 There are so many ways in which AI can help developers. One of them would be to have an AI exploit the code and suggest ways to prevent those exploits. Another would be an Ai that could create and in human readable form describe tests for existing code to greatly improve code coverage even in ancient code written by developers long gone.
Having an AI create tests and test descriptions based on human input would be great and allow for an AI to create code that meets the test criteria. Another great thing would be an AI that would be able to make reasonable performance estimates for existing code allowing it to identify performance bottlenecks and suggest improvements to overcome those.

Really the possibilities are endless, the main thing I’m expecting in the not to distant future is a polished system that can given a description of what it should create including performance characteristics and such produce the whole thing including tests test descriptions, performance tests and interface documentation etc etc basically ready to run in a large scale real world situation exposed to the interwebs.

Looking at the progress being made I’d expect this to arrive before 2030 putting a lot of people out of work real fast.

]]>
By: Jim S. https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3212489 Tue, 20 Jun 2023 02:05:00 +0000 https://stackoverflow.blog/?p=22280#comment-3212489 In reply to Nils Lindemann.

I don’t mind the idea of fixing obvious syntax errors, but even spelling correction for identifiers is risky, and many if not most of production errors arise due to deep problems with my algorithm or assumptions. I’m terrified of an LLM trying to fix database write issues without a human in the loop.

]]>
By: Ben Popper https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3212243 Tue, 20 Jun 2023 02:17:00 +0000 https://stackoverflow.blog/?p=22280#comment-3212243 In reply to Eric.

Yeah, check out CodiumAI, which has a chatbot that suggests tests and points out weak spots as you write the code. They said an AI agent that reviews code and suggests PRs is something they hope to see in the near future.

]]>
By: Ben Popper https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3212242 Tue, 20 Jun 2023 02:16:00 +0000 https://stackoverflow.blog/?p=22280#comment-3212242 In reply to vipra.

Great point. We have a podcast coming out tomorrow with the PM leading up Google’s Duet coding assistant. He makes the point that right now AI can be helpful for making suggestions or acting as a kind of autonomous linter or PR helper, but that it doesn’t currently have the capability to replace humans or be trusted to work without the typical human in the loop SDLC. For the moment, seems like it’s augmenting what developers and teams can do, not replacing them.

]]>
By: Eric https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3211966 Tue, 20 Jun 2023 08:50:00 +0000 https://stackoverflow.blog/?p=22280#comment-3211966 Help resolve PR comments, sure. What I’m looking forward to is when AI gets first dibs on suggesting improvements on PRs in the first place. Spending less time on code review makes more time for coffee!

]]>
By: Y Sun https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3211948 Tue, 20 Jun 2023 07:25:00 +0000 https://stackoverflow.blog/?p=22280#comment-3211948 Excellent article!

For those who are interested in trying self-healing code by yourself, there is one open source tool ESBMC-AI that is publicly available https://arxiv.org/pdf/2305.14752.pdf

ESBMC-AI features an efficient software verification method for boosting the success rate when using an LLM to `heal’ the code.

]]>
By: A.J. Rodriguez https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3211346 Tue, 20 Jun 2023 12:05:00 +0000 https://stackoverflow.blog/?p=22280#comment-3211346 I have been in I.T. for 34 years. Since I begin, there has always been a joke that we write…Self Healing Information Technology… S.H.!.T.

]]>
By: vipra https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3211200 Tue, 20 Jun 2023 04:22:00 +0000 https://stackoverflow.blog/?p=22280#comment-3211200 The concept of self-healing code also raises some ethical considerations. While it’s undoubtedly beneficial for developers and users, could it potentially lead to a decreased demand for human intervention in software maintenance? How do we strike a balance between automation and the human touch in the software development process?

]]>
By: Himanshu Tyagi https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3210188 Tue, 20 Jun 2023 06:28:00 +0000 https://stackoverflow.blog/?p=22280#comment-3210188 I just finished reading your blog post on self-healing code, and I must say, it’s an exciting vision for the future of software development! The idea of automating error detection and fixes sounds like a game-changer.

It could save us developers so much time and improve the overall reliability of our applications. However, I am concerned about potential risks and the impact on code quality.

Striking a balance between automation and manual intervention will be crucial to ensure the integrity of our systems. Nevertheless, I’m optimistic about the possibilities that self-healing code brings. Great read!

]]>
By: Isabela Queiroz https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3209977 Tue, 20 Jun 2023 06:11:00 +0000 https://stackoverflow.blog/?p=22280#comment-3209977 In reply to Neil Thomas.

Rather at this rate, LLMs will merely “learn” that the most likely solution to enact delegation for someone else to do it.
Considering every professional programmer in the world is objectively bad at their job (because they still have their job and they created LLMs to their image of poor performance), AI will simply be another agent in the loop.

]]>
By: Neil Thomas https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3209276 Tue, 20 Jun 2023 07:23:00 +0000 https://stackoverflow.blog/?p=22280#comment-3209276 One of the few things that might help us avoid annihilation during the AI/robot apocalypse is the ability to kill or degrade these things, and this work is creating an immune system for them!

]]>
By: Nils Lindemann https://stackoverflow.blog/2023/06/07/self-healing-code-is-the-future-of-software-development/#comment-3209086 Tue, 20 Jun 2023 08:06:00 +0000 https://stackoverflow.blog/?p=22280#comment-3209086 Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.

]]>