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.

The Internet of code

39 pointsby psibiabout 10 years ago

1 comment

nemo1618about 10 years ago
On the subject of super-optimization...<p>I was imagining a language which would super-optimize only for specific inputs. As an example, let&#x27;s say you have a program which solves a Project Euler problem. The first time you run it, it takes a while. But the next time you run it, the result is &quot;memoized&quot; (on disk maybe, or embedded into the source code as a constant) and the program returns the value instantly.<p>This is similar to compile-time function execution, but there&#x27;s a tradeoff. With compile-time execution, you only have to compile and run once, which is nice. But you also lose some flexibility, because you can&#x27;t optimize for any values that are provided at run-time.
评论 #9566866 未加载
评论 #9566760 未加载