52
submitted 1 week ago by neme@lemm.ee to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Redjard@lemmy.dbzer0.com 2 points 1 week ago

They are using the LLVM to optimize the code before it is run by the computer. They say no code runs faster than the one optimized by llvm. Sometimes it doesn't work after llvm, llvm breaks it.
LLVM reinterprets your entire code and sometimes it interprets wrongly and breaks your ~~undefined behavior~~ smart tricks.
Especially O3 they say does this a lot.
Now that openAI has released O4, hope is that will improve.

this post was submitted on 20 Jan 2025
52 points (100.0% liked)

Linux

5718 readers
289 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS