GML (2026.0)
This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].
Snapshot GML (2026.0) — released 21 May 2026 · lifecycle current
Family GML — shelf: Application
The language’s main business is building general application software, with a managed runtime or a rich standard library. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.
Trajectory 1.0 (15 November 1999 — first release as Animo) · 2026.0 (21 May 2026 — assessed release; the LTS line)
Tags
Use — Application
Paradigm — Imperative
Platform — Native, Browser
Lifecycle — Current
Memory — Runtime-managed
Typing — Dynamic
Resources
The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to GML (2026.0); an unmarked link is the current reference for the language.
Landing page
Specification and reference
Tutorial
1 Assessment
This page assesses GML in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.
Core coupling 54.6/100 · Ecosystem coupling 63.3/100 · Engineering readiness 41.5/100
1.1 Core coupling
1.1.1 Type
- ❌ Variables are dynamically typed: A name takes any value, and
typeofreads the type at run time (T1) - ❌ A script is a value:
script_executeand a method variable dispatch at run time (T3) - ❌ There are no sum types: A state is an integer and a
switch(T4) - ❌ There are no namespaces: Every script, object, and global lives in one project scope (T6)
- ❌ There are no generics: A data structure holds any value (T5)
- ❌ An unset variable is
undefined: The type does not carry the check (T10)
1.1.2 Construction
- ✅ An instance’s Create event is its constructor: The engine calls it once
- ❌ Instance and global variables are shared by default: A
global.variable is reachable from every object (C1) - ❌ A variable is mutable by default: A struct is the only value with a copy semantic (C2)
- ❌ Execution moves with no call in sight: script execution by name (with(script), asset_get_index) resolves the string to code at run time (C7)
- ❌ Scripts and objects initialize in room-load order; the source names no sequence (C8)
1.1.3 Memory
- ✅ The runtime frees an instance:
instance_destroyand the collector release memory - ❌ There is no scope-exit release: A data structure or a surface is freed by a call (M3)
- ❌ Aliasing is unrestricted: Two references can hold one struct, and nothing marks the owner (M4)
1.1.4 Error
- ❌ There is no exception path: A failed call writes a message and continues, and
show_erroraborts (Er1)
1.1.5 Concurrency
- ❌ The game loop is the only thread: Everything runs on one thread and one frame (K1)
1.1.6 Platform
- ❌ A program runs inside the GameMaker runtime: The engine provides the loop, the renderer, and the objects (P1)
- ✅ The same project exports to many targets: Windows, macOS, Linux, HTML5, mobile, and consoles
1.1.7 Trade-offs (not coupling)
- The engine buys the loop and the renderer: A game starts from objects and events, not from a window
- The project scope is flat: A global is reachable from every object, and the name is the contract
- The runtime is the platform: An extension is a DLL or a marketplace asset, and it is not portable
- The language follows the engine’s cadence: A project pins an LTS line, and an update is a decision
1.2 Ecosystem coupling
1.2.1 Performance
- ❌ The default target is a bytecode VM: The YoYo Compiler can emit C++ for a native build (R1)
- ✅ A native build is available: The YYC path trades a long build for native speed
1.2.2 Ecosystem
- ❌ The engine is proprietary: GameMaker is licensed, and the source is closed (Ec4)
- ❌ The IDE is the toolchain: The editor, the debugger, and the build are one application (Ec5)
- ❌ The engine is the ecosystem: A library outside the asset marketplace is rare (Ec6)
- ✅ The asset marketplace is the package source: An extension is installed from the IDE
- ❌ An extension binds to the toolchain: GameMaker documents extension packages built against the IDE and runner release [5] (Ec8)
- ✅ Stored projects cross on a documented conversion: the IDE detects a pre-2.3.0 project on import, converts it, and generates a compatibility report to check [6] (Ec9)
1.2.3 Evolution
- ✅ The engine ships on a monthly and an LTS channel: A project can pin a stable line
- ⚠️ The language follows the engine: A runtime rewrite can change an idiom
- ❌ The preprocessor selects the compiled source:
#if,#ifdef,#elif,#else,#endif,defined(), and the configuration macros decide which code the compiler keeps, and the definitions live in the project configuration, not in the source the reader sees (V7)
1.2.4 Domain
- ❌ The domain is 2D games: The engine’s objects, sprites, and rooms are the model (D1)
- ❌ The event model sets the architecture: A game is a set of objects and event handlers (D3)
1.2.5 Learning
- ✅ A beginner can ship a game quickly: Drag-and-drop actions and a small language
1.2.6 Syntax
- ⚠️ Two dialects share the editor: GML Visual and GML code state the same action (S2)
- ✅ The syntax is C-like: Braces, semicolons, and functions
1.2.7 Testing
- ✅ The debugger steps through an instance: Watches and breakpoints are in the IDE
1.2.8 Security
- ⚠️ A dynamically typed value fails late
- ✅ There is no eval: The engine does not run a string as code
- ❌ Numbers are doubles: integers above 2^53 change value in silence (Q4)
1.2.9 Delivery targets
What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.
| Target | Ships as | Crosses a producer boundary | Cross-release promise |
|---|---|---|---|
| GML source | source | no | The IDE compiles GML inside the build of the whole game |
| extension | compiled | yes | no — GameMaker documents extension packages that link external SDK code, built against the IDE and runner release [5] |
1.2.10 Stored data formats
What the toolchain stores that outlives the program, and what the vendor publishes about reading it across a release boundary. Ec9 is present when one row carries a break: the reading promise published as broken, the writing direction published as unreadable elsewhere, or a break the probe harness has reproduced.
| Stored format | Reading promise | Writing promise |
|---|---|---|
| Project file — .yyp, .yy, .yyz | yes — GameMaker documents the project formats per version and the reading direction the IDE takes: a project stored in a format older than 2.3.0 is detected on import, converted, and reported, and the format changed with that update [6] | — |
1.3 Engineering readiness
1.3.1 Reproducibility
- ❌ The build embeds the project and the runtime: The artifact is not byte-identical across machines (Y1)
- ❌ The engine version is the dependency: A project records the runtime version (Y2)
1.3.2 Supply chain
- ❌ An extension is installed without a signature check (Y3)
1.3.3 Observability
- ❌ There is no tracing standard:
show_debug_messagewrites to the console (Y5)
1.3.4 Feedback
- ✅ The IDE reports a compile error in place
1.3.5 Interop
- ✅ Extensions bind native code in process on the desktop targets. (Y9)
- ✅ The export targets are the maintained portable targets. (Y10)
1.3.6 Governance
- ❌ One vendor governs the engine and the language (Y11)
- ❌ The language specification is the manual (Y12)
- ❌ Semantics rest on the shipped runtime: the manual documents the IDE’s and runner’s behavior, and no conformance suite exists (Y17)
- ❌ No parser published: the manual documents the syntax in prose, the compiler is closed, and no parser API ships (Y19)
1.4 Profile
Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.
1.4.1 Energy and cost
What this axis asks: what does a running program cost in energy and time?
- ⚠️ No independent energy or time benchmark for the language is recorded.
1.4.2 AI and agent readiness
What this axis asks: how well does a coding model and an agent work in this language?
- ❌ Sparse public training data: models write it less reliably than a mainstream language [7].
1.4.3 Safety certification
What this axis asks: is there a certified or standards-qualified path to a safety-critical system?
- ⚠️ No certified or standards-qualified path for safety-critical systems.
1.5 Scoring detail
1.5.1 Core coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Type | T1 |
dynamic no static check | language | ✅ | −15 |
T2 |
weak static | language | — | 0 | |
T3 |
dynamic/duck dispatch | language | ✅ | −8 | |
T4 |
no sum types | language | ✅ | −4 | |
T5 |
no generics | language | ✅ | −4 | |
T6 |
no namespaces | language | ✅ | −8 | |
T7 |
type erasure/reflection | language | — | 0 | |
T8 |
operator overloading | language | — | 0 | |
T9 |
inheritance required for polymorphism | language | — | 0 | |
T10 |
no null-safety | language | ✅ | −8 | |
T11 |
no module boundary | language | — | 0 | |
T12 |
no effect tracking | language | ✅ | −8 | |
T13 |
async/sync colouring | language | — | 0 | |
T14 |
unchecked foreign boundary | language | ✅ | −4 | |
T15 |
chars are encoding units | language | — | 0 | |
| Type cost | −16.9 (−59) | ||||
| Construction | C1 |
global mutable state by default | language | ✅ | −15 |
C2 |
no immutability by default | language | ✅ | −4 | |
C3 |
constructors coupled to allocation | language | — | 0 | |
C4 |
no constructor/validation | language | — | 0 | |
C5 |
unpinned collection order | language | — | 0 | |
C6 |
aliasing by default | language | — | 0 | |
C7 |
undeclared control transfer | language | ✅ | −8 | |
C8 |
no source-visible init order | language | ✅ | −8 | |
| Construction cost | −10.0 (−35) | ||||
| Memory | M1 |
manual deallocation | runtime | — | 0 |
M2 |
GC non-deterministic pauses | runtime | — | 0 | |
M3 |
no RAII | language | ✅ | −4 | |
M4 |
no ownership model | language | ✅ | −8 | |
M5 |
uninitialized reads | language | — | 0 | |
M6 |
unchecked reinterpretation | language | — | 0 | |
Er6 |
uncatchable runtime fault | language | — | 0 | |
M7 |
reference cycles leak | runtime | — | 0 | |
| Memory cost | −3.4 (−12) | ||||
| Error | Er1 |
no structured path | language | ✅ | −15 |
Er2 |
unchecked exceptions only | language | — | 0 | |
Er3 |
errors ignored/non-exhaustive | language | — | 0 | |
Er4 |
no composable result type | language | — | 0 | |
Er5 |
no isolation unit for a fault | runtime | — | 0 | |
| Error cost | −4.3 (−15) | ||||
| Concurrency | K1 |
GIL/no parallel | runtime | ✅ | −15 |
K2 |
shared mutable state default | language | — | 0 | |
K3 |
manual sync no race detection | runtime | — | 0 | |
K4 |
no structured concurrency | language | — | 0 | |
K5 |
no primitives | language | — | 0 | |
K6 |
thread-per-task cost | runtime | — | 0 | |
| Concurrency cost | −4.3 (−15) | ||||
| Platform | P1 |
cannot function outside one vendor/domain | context | ✅ | −15 |
P2 |
single-vendor but other uses | context | — | 0 | |
P3 |
legacy/discontinued platform | context | — | 0 | |
P4 |
poor domain fit | context | ✅ | −8 | |
| Platform cost | −6.6 (−23) |
Core coupling score: 54.6/100 — 159 of the 350 inventory points are present, so the axis cost is 100 × 159 ÷ 350 = 45.4 and the score is 100 − 45.4. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.2 Ecosystem coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Performance | R1 |
interpreted no AOT/JIT | runtime | ✅ | −8 |
R2 |
GC pauses | runtime | — | 0 | |
R3 |
JIT warmup | runtime | — | 0 | |
| Performance cost | −3.1 (−8) | ||||
| Ecosystem | Ec1 |
no package manager | context | — | 0 |
Ec2 |
fragmented tooling | context | — | 0 | |
Ec3 |
small/niche/discontinued | context | — | 0 | |
Ec4 |
proprietary | context | ✅ | −8 | |
Ec5 |
platform-locked tooling | context | ✅ | −8 | |
Ec6 |
monoculture | context | ✅ | −8 | |
Ec7 |
legacy burden | context | — | 0 | |
Ec8 |
unpromised binary boundary | context | ✅ | −8 | |
Ec9 |
unpromised data boundary | context | — | 0 | |
| Ecosystem cost | −12.5 (−32) | ||||
| Evolution | V1 |
breaking changes | language | — | 0 |
V2 |
frozen | context | — | 0 | |
V3 |
discontinued | context | — | 0 | |
V4 |
glacial standards | context | — | 0 | |
V5 |
silent default drift | runtime | — | 0 | |
V7 |
build-variant state space | context | ✅ | −8 | |
| Evolution cost | −3.1 (−8) | ||||
| Domain | D1 |
domain/vendor lock-in | context | ✅ | −15 |
D3 |
framework forces architecture | context | ✅ | −8 | |
| Domain cost | −9.0 (−23) | ||||
| Learning | L1 |
steep | context | — | 0 |
L2 |
large surface/multi-paradigm | context | — | 0 | |
L3 |
sparse docs | context | — | 0 | |
| Learning cost | 0 | ||||
| Syntax | S1 |
verbose | language | — | 0 |
S2 |
inconsistent | language | ✅ | −8 | |
S3 |
punctuation-heavy | language | — | 0 | |
| Syntax cost | −3.1 (−8) | ||||
| Testing | G1 |
weak tooling | context | — | 0 |
G2 |
poor debugging | context | — | 0 | |
G3 |
runtime-only errors | context | — | 0 | |
G4 |
no published monotonic clock | runtime | — | 0 | |
| Testing cost | 0 | ||||
| Security | Q1 |
memory-unsafe | language | — | 0 |
Q2 |
dynamic/weak typing risk | language | — | 0 | |
Q3 |
known vulnerability/injection | context | — | 0 | |
Q4 |
silent integer overflow | language | ✅ | −15 | |
| Security cost | −5.9 (−15) |
Ecosystem coupling score: 63.3/100 — 94 of the 256 inventory points are present, so the axis cost is 100 × 94 ÷ 256 = 36.7 and the score is 100 − 36.7. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.3 Engineering readiness Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Reproducibility | Y1 |
build not reproducible | context | ✅ | −15 |
Y2 |
dependencies not pinned | context | ✅ | −8 | |
Y14 |
no toolchain version pin | context | — | 0 | |
Y18 |
no machine-read project contract | context | — | 0 | |
| Reproducibility cost | −13.5 (−23) | ||||
| Supply chain | Y3 |
no signed provenance | context | ✅ | −15 |
Y4 |
registry without namespacing | context | — | 0 | |
Y16 |
no advisory feed | context | ✅ | −8 | |
| Supply chain cost | −13.5 (−23) | ||||
| Observability | Y5 |
no stable tracing standard | context | ✅ | −8 |
Y6 |
no structured logging | context | — | 0 | |
Y15 |
no post-mortem diagnostics | runtime | — | 0 | |
| Observability cost | −4.7 (−8) | ||||
| Feedback | Y7 |
slow build | context | — | 0 |
Y8 |
no fast in-editor analysis | context | — | 0 | |
Y13 |
no bundled debugger | context | — | 0 | |
| Feedback cost | 0 | ||||
| Interop | Y9 |
no foreign-function interface | language | — | 0 |
Y10 |
no portable target | context | — | 0 | |
| Interop cost | 0 | ||||
| Governance | Y11 |
single-vendor governance | context | ✅ | −15 |
Y12 |
closed specification | context | ✅ | −15 | |
Y17 |
no conformance mechanism | context | ✅ | −8 | |
Y19 |
no published parser | context | ✅ | −8 | |
| Governance cost | −26.9 (−46) |
Engineering readiness score: 41.5/100 — 100 of the 171 inventory points are present, so the axis cost is 100 × 100 ÷ 171 = 58.5 and the score is 100 − 58.5. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
Verdict: GML is a game-engine language: the Create event and the runtime’s object model make a small game cheap, and the exporter reaches many platforms, but the dynamic types, the flat project scope, the global state, the single game-loop thread, and the vendor runtime keep the coupling high. Main strength: a tight loop from an idea to a playable build. Main weakness: the program runs only inside one engine, and nothing in the type system checks it.
The formal development. The definitions, theorems, and proofs behind this page are published in:
- On the Nature of Coupling: All Coupling as Shared Resource Access — Zenodo, 2026 — doi:10.5281/zenodo.21925122
- Coupling as a Consequence of Cohesion: Decomposition, the Coupling Floor, and Domain-Imposed Coupling — Zenodo, 2026 — doi:10.5281/zenodo.21925201
- On the Nature of Cohesion: Cohesion as Correctness Relative to a Partitioning Rule — Zenodo, 2026 — doi:10.5281/zenodo.21703193