News for hackers. Stuff that matters.
Re:Code Llama, an AI tool for coding by someplaceguy on Thursday August 24, 2023 @05:39PM (#37254888)
Yeah, but yours was created by the "post unoptimized code to HN and wait for someone to optimize it" model, which, although free and doesn't require a GPU, is a much slower model.
Re:Code Llama, an AI tool for coding by saurik on Thursday August 24, 2023 @05:48PM (#37254988)
But, unless you are trying to find a prime number low enough that you might as well look it up in a pre-generated table, it might still be end-to-end more efficient?
Re:Code Llama, an AI tool for coding by someplaceguy on Thursday August 24, 2023 @05:51PM (#37255019)
Ah, good point :) Touché!
Re:Code Llama, an AI tool for coding by turnsout on Thursday August 24, 2023 @06:41PM (#37255497)
Someone should turn this into a product! You highlight the code you want to optimize, and it posts it to hn as a semi-contextually-appropriate comment to invite code golfing, and the highest rated reply gets posted back to your repo as a PR.
Re:Code Llama, an AI tool for coding by badloginagain on Thursday August 24, 2023 @09:46PM (#37256891)
We then train the LLM on all code optimized like this.
Re:Code Llama, an AI tool for coding by easygenes on Friday August 25, 2023 @03:54AM (#37259221)
What are some existing data source that are somewhat analogous to this? e.g., Project Euler.
Re:Code Llama, an AI tool for coding by seanthemon on Saturday August 26, 2023 @07:24AM (#37271766)
There's also code golf stackexchange[0] and iirc reddit has some daily programmer challenges too

[0] http://codegolf.stackexchange.com/