Skip to content

Language Shootout

A user-supported site Fastest, Shortest, Simplest

Hello World

Object Pascal FPC #1 — Hello World

Write “Hello, world!” and exit. Every other benchmark subtracts this program’s time, so that startup does not count against heavy runtimes.

Time 0.0 ms
CPU time 0.0 ms
Peak memory 7,176 KB
gz 70 bytes — comments removed, gzipped
Style ★★★★★
Implementation Object Pascal — Object Pascal (Free Pascal) 3.2.2
By sysop-
Submitted September 24, 2026

Style assessment

Canonical Free Pascal Hello World: correct program header, begin/end block, and the standard WriteLn call, with nothing extraneous. There is nothing to improve at this task size.

program Hello;

begin
  WriteLn('Hello, world!');
end.

Back to Hello World