Wesloo
All topicsTopics

Programming languages

A programming language is a formal system of rules and syntax used to instruct computer hardware. Processors execute binary machine code directly. Writing raw binary is impractical for complex software, so developers write source code in higher-level languages. Translators convert this text into machine operations. Compilers evaluate the full source file to build a standalone binary before runtime, producing faster execution. Interpreters parse instructions line by line, which simplifies multi-platform distribution but adds CPU overhead.

Languages use different execution models and memory strategies based on their design goals. Object-oriented languages like Java organize data into classes and methods. Pure functional languages treat computation as mathematical evaluations without shared state. Memory management also separates systems: C requires explicit pointer allocation, while Go automates cleanup through a background collector. Rust prevents memory safety bugs at compile time through an ownership model that requires no runtime collector.

This section documents the classification and runtime mechanics of programming languages. Articles explain the technical trade-offs between compiled and interpreted execution. Other entries define core paradigms like object-oriented programming or trace how language design evolved from early Fortran implementations into modern type-safe standards.

Latest pages