Remix.run Logo
trickypr 3 hours ago

That seems like a horrible idea:

1. Do you really want the rust compiler to run at the speed of an llm?

2. Compiler optimisations are already extremely unpredictable with deterministic compilers[1], I hate to think how unpredictable your compiler would be.

3. What if someone else wants to build the software, do they have to decide on optimisations now? What if the optimisation depends on your features not available on old generations of CPU? (There is a reason we don’t compile with -march=native)

4. Compilers already have “unsafe” optimisations, but people rarely enable them (-ffast-math)

[1]: https://faultlore.com/blah/oops-that-was-important/

jmalicki 25 minutes ago | parent | next [-]

> Do you really want the rust compiler to run at the speed of an llm?

That... might actually be an improvement?

pbiggar 3 hours ago | parent | prev [-]

You misunderstand me. I'm saying that the developers can make these optimizations with LLMs, at the source level, and thus they don't need to be added to compilers.

Like just open Claude Code and ask it to find optimizations. That's the right place for this kind of optimization.