4 ms·
As Doug Fisher said at JavaOne, "hardware without software just generates heat" The same has been said for functional languages without side effects: "A purely
by espeed 14y ago
As Doug Fisher said at JavaOne, "hardware without software just generates heat"
The same has been said for functional languages without side effects: "A purely functional programming language is only good for heating your computer." -- Rich Hickey :)
- spullara 14y agoActually, you don't need to execute it at all if there are no side effects. You might as well turn the machine off and save all the electricity.
- kamechan 14y agoHeating your computer is a side effect.
- watmough 14y agoFor full documentation on this effect, please see the Haskell Heat-Monad package.
- sp332 14y agoIn the book Permutation City, people are just able to upload a copy of their brains into a computer. But the simulations are so big that they run slowly. So a billionaire not only uploads a copy of his consciousness, he also runs a massive optimization routine on it! After a few years of chugging along, the optimizer spits out an empty file and reports: "This program has no output."