E
dit
W
YSIWYG
A
ttach
P
rintable
r1 - 30 Jul 2010 - 09:10:37 -
RajMathur
You 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
E
dit
|
W
YSIWYG
|
A
ttach
|
P
rintable
|
R
aw View
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r1
|
M
ore topic actions
Main
Log In
or
Register
Main Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
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
Webs
CommonsConvergence
Main
Sandbox
TWiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback