Re:Scheme is also dead on the iPhone
by bad_user on Friday April 09, 2010 @04:29PM
(#1253784)
Compilers leave a heavy footprint.
Consider how compilation works ... you have a parser that takes your source-code and builds a syntax tree from it.
Then the syntax tree is checked for correctness, optimized, transformed, with type rules inferred and symbol tables created and all that.
Then a backend takes the result and generates source-code (or byte-code or assembly). The thing to remember is that compilers use certain patterns and certain optimizations to generate the resulting source code.
Because of the transformations a compiler does on the syntax tree and the way the result is generated, such patterns can emerge even from the binary.
It's difficult to have 100% accuracy though, but I don't think they would sweat over that.
Consider how compilation works ... you have a parser that takes your source-code and builds a syntax tree from it.
Then the syntax tree is checked for correctness, optimized, transformed, with type rules inferred and symbol tables created and all that.
Then a backend takes the result and generates source-code (or byte-code or assembly). The thing to remember is that compilers use certain patterns and certain optimizations to generate the resulting source code.
Because of the transformations a compiler does on the syntax tree and the way the result is generated, such patterns can emerge even from the binary.
It's difficult to have 100% accuracy though, but I don't think they would sweat over that.