Writing in a general way can give similar results, but the thing is a programmer who knows his languages well can produce faster code in C than in Delphi, because Delphi does not really have any tricks like code inlining and such.