News for hackers. Stuff that matters.
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by msandford on Monday January 12, 2015 @01:24PM (#8875504)
This is very, very cool. Moving this kind of intelligence into the compiler and runtime is one of the things I desperately wanted to do in grad school. The academic machine ground that desire out of me in short order, but I still have a tremendous love of the work.
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by sridharvembu on Monday January 12, 2015 @02:48PM (#8875977)
Are you working on compilers and runtimes? If you are interested in doing this, please shoot me an email svembu at zoho
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by jwmerrill on Monday January 12, 2015 @02:01PM (#8875724)
This is great when your inner loop is calculating the nth Fibonacci number, but I'm skeptical that there are all that many practically occurring inner loops that are linear recurrences where the author of the code has not already recognized them as such.
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by dignati on Monday January 12, 2015 @02:04PM (#8875737)
The language he describes is not Turing-complete, which limits the number of use cases. Still very interesting when you have such a situation.
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by im3w1l on Monday January 12, 2015 @05:29PM (#8876852)
Have you considered doing matrix decompositions for faster exponentiation? I guess the floating point handling would be hard to get right though.
Re:Automatic Algorithms Optimization via Fast Matrix Exponen... by gwern on Monday January 12, 2015 @05:16PM (#8876785)