3 ms·
A limitation I see with AI for coding is that your problem must be mainstream to get decent results. In my experience, if I ask it to do web things in PHP or J
by hyperman1 2y ago
A limitation I see with AI for coding is that your problem must be mainstream to get decent results.
In my experience, if I ask it to do web things in PHP or Java, data things in Python, ... it gives a good enough result. If I ask it a postgis question, I get an answer with hallucinated APIs, bugs, and something that doesn't even do what I want if it works.
I suspect the ADA/Spark world and the formal verification world are to small to decently train the AI.
- amoss 2y ago> A limitation I see with AI for coding is that your problem must be mainstream to get decent results. Or to phrase it another way, there must examples of the technique that you want to "generate" in the training set otherwise the horrifically overfitted model cannot work. Probably a little bit too cynical but this is my experience asking LLMs "unusual" questions.
- nottorp 2y agoSeems realistic. I tried asking a LLM for a full code snippet for the first time yesterday (i've been using them as search engines better than google, which isn't saying much, before). It produced code that compiled but failed to do anything because the 3rd api call it generated returned an error instead of doing what the LLM said it would do. Didn't spend time on seeing what was wrong because we already had a library that did the same thing; I was more testing what the LLM can do.
- TheOtherHobbes 2y agoNo, that's about where we are. Today's LLM coding is basically automated Stack Overflow copy/paste - not too bad for anything simple and mainstream, but unable to reason about code from first principles, and fond of making up random shit that looks good but doesn't work.