by abhijeetpbodas · 3y ago · 0 comments
1. Humans create programming languages which machines can understand. OK.
2. Humans build tools (LSP, treesitter, tags, type checkers and others) to help humans understand code better. OK.
3. Humans build (AI) programs which run on machines so that the computer can understand... computer programs???
Aren't computers supposed to be able to understand code already? Wasn't the concept of "computer code" created so as to have something which the computer could understand? Isn't making a (AI) program to help the computer understand computer programs re-inventing the wheel?
(Of course, I get that I use the terms "understand" and "computer programs" very loosely here!)
Arguably, we would benefit from even higher level abstractions so the LLM can fit more logic in a single prompt/output.
Maybe a future AI could generate machine code that could be "disasssembled" into higher level languages.
Not sure if that would be better.