Skill 8.2.1

Programming languages

Key Concepts

Languages such as C and C++ give direct memory access and are prone to buffer overflows and other memory corruption flaws. Memory-safe languages, such as Rust, Go, Java, C# and Python, prevent whole classes of these flaws; government agencies have encouraged moving towards memory-safe languages.

Compiled languages produce executables; interpreted languages are executed by an interpreter at runtime. Object-oriented concepts such as encapsulation support security by hiding internal data. Each language has its own secure coding standards.