Slashdot Mirror


Computer Program Fixes Old Code Faster Than Expert Engineers

An anonymous reader writes: Less than two weeks after one group of MIT researchers unveiled a system capable of repairing software bugs automatically, a different group has demonstrated another system called Helium, which "revamps and fine-tunes code without ever needing the original source, in a matter of hours or even minutes." The process works like this: "The team started with a simple building block of programming that's nevertheless extremely difficult to analyze: binary code that has been stripped of debug symbols, which represents the only piece of code that is available for proprietary software such as Photoshop. ... With Helium, the researchers are able to lift these kernels from a stripped binary and restructure them as high-level representations that are readable in Halide, a CSAIL-designed programming language geared towards image-processing. ... From there, the Helium system then replaces the original bit-rotted components with the re-optimized ones. The net result: Helium can improve the performance of certain Photoshop filters by 75 percent, and the performance of less optimized programs such as Microsoft Windows' IrfanView by 400 to 500 percent." Their full academic paper (PDF) is available online.

3 of 167 comments (clear)

  1. its been around for years. by nimbius · · Score: 5, Funny

    This kind of application has been ported to about half a dozen different operating systems. i use it on a regular basis but for those not familiar I find it works best with legacy PHP. the "rm" command (or as its known in windows "del") uses an advanced algorythm to determine the target codes age, total number of lines, and any optimizations that are required in order to make it fully web 4.0 SOAP, ROPE, and DOPE compliant. It then quickly converts the code to the updated version by changing the physical structure of the space it occupies on the disk. My coworkers always seem amazed when they see me break out my legacy optimizer. "What have you done?!" they exclaim, baffled at my efficiency. "holy crap do you know how important that was?!?" they remark in awe

    --
    Good people go to bed earlier.
  2. Re:Support and copyright ... by gstoddart · · Score: 4, Funny

    What? There is no law against modifying binaries on software you own.

    These days, copyright means whatever the hell corporations tell government it means, and it's a constantly moving target.

    I'm not convinced the BSA would agree.

    The quality of comments on this site continues to decline at a rapid pace...

    Yeah, it's full of snide assholes posting as Anonymous Coward who don't have anything intelligent to add.

    --
    Lost at C:>. Found at C.
  3. Re:Nirvana?! by quantumghost · · Score: 5, Funny

    $ Helium -i Helium -o Helium2

    Program ran in 656.76s

    $ Helium2

    Welcome to SkyNET