Skip to content
source code

File:Hello_world_c.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ128751· pop 86· linked from 2,731 articles

source code

Sign in to save

Also known as source, src, software code, program code, code

collection of computer instructions written using some human-readable computer language

AI overview

Source code is a collection of instructions written in a language that humans can read and understand, which tells a computer what to do. It matters because programmers use it to create all the software and applications we use, and it can be examined and modified to fix problems or add new features.

AI-generated from the Wikipedia summary — may contain errors.

~14 min read

Encyclopedic overview

Simple C source code for a "Hello world" program. Taken from the seminal book The C Programming Language, it originates from Brian Kernighan in the Bell Laboratories in 1974.

In computing, source code, or simply code or source, is human readable plain text that can eventually result in controlling the behavior of a computer. In order to control a computer, it must be processed by a computer program – either executed directly via an interpreter or translated into a more computer-consumable form such as via a compiler. Sometimes, code is compiled directly to machine code so that it can be run in the native language of the computer without further processing. Many modern environments, though, involve compiling to an intermediate representation such as bytecode that can either run via an interpreter or be compiled on-demand to machine code via just-in-time compilation.

Excerpted from Wikipedia’s “source code” article, available under the CC BY-SA 4.0 licence.

Gallery (2)