Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I put GPT and Llama 70B to write me comments about the Rust language source code. They are both superb at this task. I haven't used any other weaker LLMs in the same fashion, with less billions of parameters, but i can imagine many of them, in the range of 7B to 13B, will perform good enough. I will test more LLMs soon though.

Maybe code reviews on the raw source code, does not need to be confusing anymore. Code reviews on the description of the source code is better.

I tried to prompt the LLM to just summarize the code, and i didn't like the result. The description is indeed verbose and somewhat inefficient.

I tried "write some comments about the source code, in the style of codinghorror" and the results were fantastic.

I am very interested, if someone has found some other styles that work just as well.

Edit: All this to say, that in the space of LLMs and source code, there is a start-up which will be a github disruptor, and a new era of code will begin.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: