Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The famous "sufficiently smart compiler"?


It's not that smart for these cases. No AI required. Run the app with various cogs, benchmark each run, pick the cog than ran fastest. Compiling for cog picks will take more time. The programmer would be responsible for sending the right dummy data by linking to a data gen cog and writing tests.

Cogs come with lots of metadata for use cases, performance profiles, data sizes, etc. They don't need to be marketed, tried by hundreds of hopeful devs and become resume buzzwords. The programmer no longer needs to read HN and care about the shiniest new cogs. Mental overhead is greatly reduced.


its an interesting thought.

the knee-jerk worry is that optimising well enough for the every-day will make the site lead-balloon when you get a flash crowd i.e. hacker-newsed.

I'm trying to think how you could so dynamically migrate that this isn't seen....

Of course cheap available memristors would change it all .... http://williamedwardscoder.tumblr.com/post/17768181955/compu...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: