CompuServe Messages

#C Compilers: which one?

    24-Jul-89 02:28:09
Fm: John Draper 76703,4322
To: Black Belt Systems 76004,1771
Ben, I have, in another message, invited you to show me how you would code an example function using some techique other than inline asm. Please feel free to respond to that one with your C wisdom. As for your arguments about which is the better compiler… Code written in Manx may indeed have inline asm in it. You keep harping on this, but it is not pertinent to the discussion. Lattice may have 'emit' statements in it, which is a darn sight worse, since you would have to effectively disassemble it before you could even hope to understand it. This, in itself does not make a compiler bad. Inline asm capability does not make a compiler bad. Though I still feel that there can be a need for inline asm, and you don't, can we not agree that programs that needlessly use inline asm are bad? Note that this says nothing about the compiler that produced the inline stuff, whether it be machine code or asm. Let me know when the ANSI proposal is a standard. If by that time, Manx has not brought out an ANSI conformant compiler, and Lattice has fixed the bugs, I might just agree with your evaluation. As for faster/smaller, I have seen the gyrations you have to go through to make Lattice code smaller and faster. manx does a decent job, at higher speed, and by default. Each compiler has its strong points. Perhaps you'd feel more comfortable if we spin off a separate thread on the discussion of which is the better compiler? -larry