Est. 1998 Beginner

PureBasic

A commercially developed, native-code BASIC dialect and IDE that compiles to small, dependency-free executables across Windows, Linux, macOS, and Raspberry Pi.

Created by Frédéric Laboureur (Fantaisie Software)

Paradigm Procedural, imperative, structured (BASIC family)
Typing Static; variable types indicated by suffixes (.b, .w, .l, .q, .f, .d, .s)
First Appeared 1998
Latest Version 6.40 (April 2026)

PureBasic is a commercially distributed, procedural programming language and integrated development environment in the BASIC family, developed by Fantaisie Software and principally authored by its founder, Frédéric Laboureur. Its central promise is unusual among BASIC dialects: PureBasic is a native-code compiler that produces small, standalone executables and libraries which need no runtime beyond the standard system libraries. It pairs the approachable syntax of BASIC with low-level capabilities — pointers, structures, inline assembly — that are normally associated with systems languages like C.

History and Origins

PureBasic’s development began in 1998, when Frédéric Laboureur set out to build a modern BASIC dialect and founded Fantaisie Software around it. The earliest versions targeted AmigaOS, a platform with a devoted community and a strong tradition of BASIC programming, but one whose commercial future was already uncertain.

The language reached a far broader audience with the Windows release in late 2000 (commonly dated to 17 December 2000). From that point PureBasic settled into the pattern it still follows today: a commercial, continuously updated product sold under a one-time, lifetime-license model. Fantaisie Software has long highlighted that the very first registered user from 1998 still receives free updates — a reflection of how stable the language and its business model have remained over more than two decades.

Over the following years PureBasic expanded well beyond its Amiga roots, adding support for Windows, Linux, and macOS, and more recently Raspberry Pi. The AmigaOS edition of PureBasic 4.00 was eventually released as open source (around December 2006), while the mainstream cross-platform versions remained commercial.

Design Philosophy

PureBasic is built around a few consistent goals that distinguish it from both classic BASIC interpreters and from heavier modern toolchains:

  • Approachable, but not toy. The syntax is deliberately BASIC-like and easy to read, yet the language exposes pointers, structures, and inline assembly so that experienced programmers are not boxed in.
  • Native code, no runtime. Programs compile directly to machine code and link into compact executables or DLLs that depend only on standard system libraries — there is no virtual machine, garbage collector, or bundled runtime to ship.
  • Batteries included. A large set of built-in libraries (graphics, GUI, networking, databases, file handling, 2D/3D rendering) ships with the compiler, so common tasks rarely require third-party dependencies.
  • One language, many platforms. The same source is intended to compile across the supported operating systems and architectures, with platform-specific concerns handled by the standard libraries where possible.

Key Features

  • Native compilation to 32-bit and 64-bit executables and DLLs, historically through a built-in assembler backend and, since version 6.00, an optional C backend that broadens platform reach.
  • Low-level access including pointers, user-defined structures, and inline assembly, alongside high-level conveniences.
  • Built-in data structures such as arrays, linked lists, and maps as first-class language constructs.
  • A rich standard library of many hundreds of built-in commands covering GUI widgets, 2D graphics (DirectX/OpenGL), 3D rendering via OGRE, sound, networking, and database access.
  • Full Unicode support for modern text handling.
  • An integrated IDE with a syntax-highlighting editor, debugger, profiler, and a visual form designer for building GUIs.
  • Type suffixes (.b, .w, .l, .q, .f, .d, .s, and others) that let programmers specify a variable’s exact representation when needed.

A short flavor of the language:

; A tiny PureBasic program
Define name.s = "World"

If OpenConsole()
  PrintN("Hello, " + name + "!")
  ; Loop with a typed counter
  For i.l = 1 To 3
    PrintN("Line " + Str(i))
  Next
  Input()  ; wait for Enter
EndIf

Evolution

PureBasic has evolved steadily rather than dramatically, with each major version sharpening the same core idea:

  • Version 3.70 (2003) brought substantial additions including OGRE-based 3D support.
  • Version 4.00 (2006) was a major overhaul of the compiler and introduced native Unicode.
  • Version 5.00 (2012) modernized the macOS edition with Cocoa, replacing the older Carbon interface.
  • Version 6.00 LTS (2022) added the optional C backend, enabling targets such as Raspberry Pi and native support for Apple Silicon (M1) Macs, and is offered as a long-term-support release.
  • Version 6.10 LTS (2024) added a WebView library and DPI-aware rendering improvements.
  • Development has continued into the 6.2x, 6.30, and 6.40 (2026) releases, maintaining both compilation backends.

The introduction of the C backend is arguably the most consequential recent change: by emitting C and leaning on external toolchains, PureBasic can reach new architectures more easily than the hand-maintained assembler backend allowed.

Current Relevance

PureBasic occupies a comfortable niche. It is not a mainstream industrial language, and it does not appear at the top of popularity surveys, but it has a loyal, long-standing community and a developer who has shipped consistent updates for more than twenty years. Its appeal is concentrated where its strengths line up: small, fast, dependency-free desktop tools and games; cross-platform utilities for solo developers and small vendors; and hobbyists who want a friendly language that still lets them drop down to pointers and assembly when they need to.

A sister product, SpiderBasic, reuses the PureBasic syntax and command model but compiles to JavaScript, extending the same programming style to the web and mobile.

Why It Matters

PureBasic is a reminder that BASIC never really died — it adapted. Where the original BASICs were interpreted and tied to specific home computers, PureBasic re-imagines the family as a lean native compiler with a modern standard library and a genuinely cross-platform reach. For a generation of Amiga and Windows enthusiasts it offered a low-friction path from “hello world” to shipping a real, self-contained application, without the ceremony of larger toolchains. Its longevity — from a 1998 Amiga project to actively maintained 2026 releases spanning four desktop platforms — is itself the strongest argument for the durability of its design choices.

Timeline

1998
Frédéric Laboureur begins developing PureBasic and founds Fantaisie Software. The first version targets AmigaOS, aiming to be a modern, fast BASIC dialect that compiles to native code.
2000
The first public release of PureBasic for Windows appears (dated 17 December 2000), bringing the language to a much wider audience and beginning its long run as a commercial, continuously updated product.
2003
Version 3.70 (June 2003) is released, with significant additions including 3D engine support built on OGRE.
2006
Version 4.00 (May 2006) is a large release that overhauls the compiler and adds native Unicode support. Later that year (version 4.02, December 2006) the AmigaOS edition of PureBasic 4.00 is released as open source.
2012
Version 5.00 (November 2012) modernizes the macOS edition with Cocoa support, replacing the older Carbon-based interface.
2022
Version 6.00 LTS (22 June 2022) introduces an optional C backend alongside the long-standing assembler backend, enabling new targets such as Raspberry Pi and native support for Apple Silicon (M1) Macs.
2024
Version 6.10 LTS (March 2024) adds a WebView library for embedding web content, DPI-aware rendering improvements, and additional libraries.
2026
Development continues with the 6.2x, 6.30 (January 2026), and 6.40 (April 2026) releases, maintaining both the assembler and C compilation backends across supported platforms.

Notable Uses & Legacy

PureBasic IDE and tooling

Much of PureBasic's own integrated development environment — editor, debugger, and form designer — is itself written in PureBasic, demonstrating the language's suitability for building cross-platform desktop applications.

SpiderBasic

Fantaisie Software's sister product SpiderBasic shares PureBasic's syntax and command set but compiles to JavaScript for web and mobile applications, effectively bringing the PureBasic programming model to the browser.

Indie games and multimedia tools

PureBasic's built-in 2D/3D, sprite, sound, and OGRE-based 3D libraries make it a common choice among hobbyist and independent developers for small games, demos, and multimedia utilities that ship as a single executable.

System utilities and desktop applications

Because PureBasic produces compact native executables and DLLs with no external runtime dependencies, it is frequently used to build portable system tools, installers, and small commercial desktop applications.

Cross-platform commercial software

The same source can be compiled for Windows, Linux, macOS, and Raspberry Pi, which appeals to small software vendors who want to target multiple desktop platforms from a single codebase without a heavy framework.

Language Influence

Influenced By

Influenced

SpiderBasic

Running Today

Run examples using the official Docker image:

docker pull
Last updated: