First page Back Continue Last page Overview Graphics
Motivation
But: Java does not solve every problem
- Over-hyped as a solution to everything
- Bad reputation for wasting resources (CPU, RAM)
- It is easy to write inefficient programs
- Early implementations were very slow
- Type-safety and memory management have their cost
- Often over-estimated: Array bounds checking
(→ no buffer overflows) costs ~2% execution time,
avoids ~50% security-related bugs
- Syntax similar to C++ → not very easy to learn
Notes: