News for hackers. Stuff that matters.
Re:How Math Helped Me Write Less Code and Made Our App Faster by eru on Wednesday February 12, 2014 @04:32AM (#7223372)
> Now imagine doing this on the front-end

Like, in the browser?

Re:How Math Helped Me Write Less Code and Made Our App Faster by noelwelsh on Wednesday February 12, 2014 @06:38AM (#7223774)
I can't tell if you're being sarcastic or not, so I'll give you the benefit of the doubt.

Yes I mean in the browser. The convolution (edge-detection) is definitely possible in WebGL, and the dynamic programming algorithm probably is, so you could probably get sufficient performance in the browser to do this on multiple images in real time.

Re:How Math Helped Me Write Less Code and Made Our App Faster by eru on Wednesday February 12, 2014 @08:14PM (#7228701)
Not sarcastic. I just didn't know whether you meant the browser or eg the last layer of, say, PHP before it leaves the server.