??? 06/14/07 22:13 Read: times Msg Score: +1 +1 Informative |
#140805 - Not really Responding to: ???'s previous message |
Steve M. Taylor said:
Jeff Post said:
Since most embedded developers would opt for power and control over safety, And ain´t that a SCARY thought. I program exclusively in Pascal and Delphi, and I have never hit something I couldn´t code. Anything you can do in a Turing-complete language you can do in any other Turing-complete language. Whether or not you'd want to is a different matter. You can write OOP in C (I've done quite a bit of it), but if your application is heavily OOP, you'd be better off with C++ or C# (or whatever OOP language you prefer). In Pascal when you code at the metal, you know exactly what you are doing. In ´C that isn´t true, the compiler thinks it knows what you want to do. Like women, bartenders, sales clerks, etc, you just have to know how to talk to the compiler nicely ;-) Getting the compiler to do what you want is more a matter of your experience and knowledge than it is of the language. If your experience with C and Pascal were reversed, you'd probably say the opposite. You can always find out what the compiler is doing by disassembling the binary it generates. If you have the compiler output assembly source, it won't necessarily correspond to the binary it will generate from the same HLL source code. (Yep, I found that out the hard way, many years ago.) |