TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scalable self-improvement for compiler optimization

2 pointsby foobazgt7 months ago

1 comment

foobazgt7 months ago
One of the fun parts of compiler optimizations is that they can be competing forces, for example inlining for speed and outlining for size. You can see a similar pattern in garbage collectors (throughout vs latency). It can be easy to land in an infinite loop or an oscillating function.<p>One technique I&#x27;ve seen is to set a goal for one optimization and, once that&#x27;s met, throw the remaining resources at the other target. That feels like a bit of a cop out, though.
评论 #42033070 未加载