r1 - 30 Jul 2010 - 09:10:37 - RajMathurYou are here: TWiki >  Main Web > ProgrammingIntroduction > 2010-07-28Wednesday

Topics Covered on Wednesday, 2010-07-28

  • Judging Effectiveness of Programs
    • Accuracy (correctness)
    • Ease of use (User Interface)
    • Execution time (Efficiency)
    • Hardware resource usage
    • Maintainability
  • Code Optimisation
    • Optimise for speed (typically)
    • Optimise for memory (less common)
  • Code optimisation
    • Manual optimisation
    • Compiler optimisation
  • Interpreters
    • Execute program line by line instead of generating a stand-alone executable program
  • Interpreters vs Compilers
    • Speed of execution
      • Compiled programs faster than interpreted programs
    • Speed of development and debugging
      • Easier to test, debug and re-run in an interpreter
    • Run-time requirements
      • Interpreter needed at run-time, compiler not needed
    • Program portability
      • Better with interpreter
  • Special Interpreters -- Java
    • Compiler compiles Java program into byte code
    • Byte-code is language of a virtual machine
    • Java interpreter executes byte-code on real machine
    • Very portable, faster than interpreter
    • Java Virtual Machines available for all platforms
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions

tip TWiki Tip of the Day
Keyword search
Interactive search is a keyword search by default. For example, to search for all topics that contain ... Read on Read more

 
Kandalaya
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback