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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
05/09/12 16:03
Read: 773 times

#187307 - Interreted Languages - revisited
In an old, now locked, thread, I said:
One of the oft-claimed advantages of Interpreted Languages is that you don't have the overhead of the "build" cycle.

As I'm currently working with an Interpreted Language (Python - not on an 8051), I'm coming to think that this is not (necessarily) all it's cracked-up to be:

  • A "conventional" build (compiler, linker, etc) has to check all the code for syntax & semantics before it will give you anything to run;

  • An interpreter, on the other hand, may not actually notice such errors until it actually tries to "run" the offending line - which could be some considerable time into the program

  • It seems that TI are now suffering from exactly this problem on their forum:

    I said:
    The error is that a method or property is being used which doesn't exist!

    Now, a compiled language would give a compile-time error for that - surely, there must be tools to detect this for a scripting language...?!

    List of 15 messages in thread
    Interreted Languages - revisited      Andy Neil      05/09/12 16:03      
       No Tools?      Neil Kurzman      05/09/12 18:25      
          Interpreted is always problematic for complex problems      Per Westermark      05/10/12 05:37      
          It's more than just syntax      Andy Neil      05/10/12 15:49      
             lint isn't really a syntax checker      Per Westermark      05/10/12 17:39      
                Yea That      Neil Kurzman      05/11/12 00:08      
                Static code analyser      Oliver Sedlacek      05/11/12 03:24      
          Exception handling      Oliver Sedlacek      05/11/12 03:26      
             exceptions are normally too little too late      Per Westermark      05/11/12 04:47      
       the issue with interpreted languages is ...      Erik Malund      05/11/12 08:58      
          interpreted languages are more than "throw away code"      Per Westermark      05/11/12 12:32      
             I hate throwing objects in the cogs, but...      Justin Fontes      05/11/12 15:20      
                Someone else responsible for compiling the interpreter      Per Westermark      05/11/12 17:53      
                But the same applies to compiled languages!      Andy Neil      05/12/12 04:27      
          Disagree      Andy Neil      05/11/12 13:29      

    Back to Subject List