Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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.)



List of 30 messages in thread
TopicAuthorDate
week(almost)end survey: Pascal            01/01/70 00:00      
   I think that it is a simple case of "who came firs            01/01/70 00:00      
      And what makes up that dominancy?            01/01/70 00:00      
         impossible - sorry            01/01/70 00:00      
            hummm            01/01/70 00:00      
         "Real men don't use PASCAL"            01/01/70 00:00      
   C Has Momentum            01/01/70 00:00      
   C and Pascal            01/01/70 00:00      
      Scary thought for the day.            01/01/70 00:00      
         Not really            01/01/70 00:00      
            I did not want this sort of discussion...            01/01/70 00:00      
               Times change            01/01/70 00:00      
                  ...and no newborn embedded programmers anymore?            01/01/70 00:00      
                     Shame            01/01/70 00:00      
                        dinosaurs? :-(            01/01/70 00:00      
                           Nah ...            01/01/70 00:00      
                     I have heard many times that Betamax was better th            01/01/70 00:00      
                        Just a minute ...            01/01/70 00:00      
                           Language evolution            01/01/70 00:00      
                              missing features            01/01/70 00:00      
                                 Dim and distant past            01/01/70 00:00      
                                    OOP            01/01/70 00:00      
                                       PC and fat embedded OOP            01/01/70 00:00      
                                          OOP assembler            01/01/70 00:00      
                                             Russ beat me to it            01/01/70 00:00      
                                    Delphi            01/01/70 00:00      
                              Wasn't it just the compile times?            01/01/70 00:00      
   Selling points:            01/01/70 00:00      
      FreePascal            01/01/70 00:00      
      OH NO            01/01/70 00:00      

Back to Subject List