News for hackers. Stuff that matters.
Re:Large Language Models for Compiler Optimization by Lynix48 on Monday September 18, 2023 @07:12AM (#37554693)
I was thinking about writing my bachelor's thesis about LLMs and compilers. My idea is to maybe attempt to write a C (to assembler)-Compiler and see how well it does.

Attempting to convert assembler to C using an LLM would be interesting too, but the results would probably be poor since there is just so much information that gets lost when compiling, so the C code would be pretty statistical. I guess I could improve it by somehow adding "C code is or is not compilable because of line n" and whether the result is correct to the lost function.

What do you guys think about this?

Re:Large Language Models for Compiler Optimization by cec on Monday September 18, 2023 @04:56PM (#37561926)
There’s a researcher at Edinburgh who is looking into this. You may want to reach out. Check the related work section in this paper