284
submitted 18 hours ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] yogthos@lemmy.ml 5 points 8 hours ago

The complexity here lies in having to craft a comprehensive enough spec. Correctness is one aspect, but another is performance. If the AI craps out code that passes your tests, but does it in really inefficient way then it's still a problem.

Also worth noting that you don't actually need AI to do such things. For example, Barliman is a tool that can do program synthesis. Given a set of tests to pass, it attempts to complete the program for you. Synthesis is performed using logic programming. Not only is it capable of generating code, but it can also reuse code it's already come up with as basis for solving bigger problems.

https://github.com/webyrd/Barliman

here's a talk about how it works https://www.youtube.com/watch?v=er_lLvkklsk

[-] Kanda@reddthat.com 1 points 1 hour ago

So it's like AI, but tailored for one purpose and without the marketing

[-] yogthos@lemmy.ml 1 points 34 minutes ago

also doesn't require burning down a rain forest each time you run a query

this post was submitted on 21 Oct 2024
284 points (96.4% liked)

Programmer Humor

32275 readers
949 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS