5 ms·
I can't Google the name right now, but this does exist as an optimization technique. Just start with any program, create random permutations, score them for cor
by hanbura 9y ago
I can't Google the name right now, but this does exist as an optimization technique. Just start with any program, create random permutations, score them for correctness and performance, keep the best ones, repeat.
The problem is that this is incredibly computation intense, since the number of possible programs is huge. Right now it's viable for improving small code parts with a know-correct starting point. Maybe some day computers become fast enough to make more viable.
- maemre 9y agoStochastic optimization? STOKE [1] from Stanford is trying to that if I understood it correctly. [1]: https://github.com/StanfordPL/stoke https://github.com/StanfordPL/stoke