r/coding • • Aug 11 '15

Code transplant could revolutionize programming

http://www.wired.co.uk/news/archive/2015-07/30/code-organ-transplant-software-myscalpel
7 Upvotes

23 comments sorted by

View all comments

Show parent comments

12

u/[deleted] Aug 12 '15

It appears as if the article suffers from an over-sensationalized tone.

It speaks nothing in regard to the optimization/quality of the translated code. It basically says, "hey, this can be done!" ... like, no shit! lol

5

u/Madamelic Aug 12 '15

It speaks nothing in regard to the optimization/quality of the translated code.

I think this is the most important part of this.

This process is nothing if code can't be maintained or understood. Although, I guess we could just let 'MuScalpel' create spaghetti code on top of spaghetti code.

4

u/Azuvector Aug 12 '15 edited Aug 12 '15

About my take on it as well. However, I'm currently reading Nick Bostrom's Superintelligence and what jumped to mind for me was that this really sounded like some sort of genetic algorithm that plays assembly games with source code that's had some meta data added to it, that probably results in something more geared for a machine to read than a human. Sort of a potentially cleaner implementation of polymorphic code.

1

u/HelperBot_ Aug 12 '15

Non-Mobile link: https://en.wikipedia.org/wiki/Superintelligence:_Paths,_Dangers,_Strategies


HelperBot_™ v1.0 I am a bot. Please message /u/swim1929 with any feedback and/or hate. Counter: 7062