Smalltalk (ANSI Smalltalk)

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 Smalltalk (ANSI) — released 1998 · lifecycle frozen (the ANSI standard has not been revised)

Family Smalltalk — 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 Smalltalk-72 (1972 — first version) · ANSI (1998 — ANSI INCITS 319-1998)

Tags

Use — Application, Desktop

Paradigm — Object-oriented, Imperative

Platform — Native

Lifecycle — Frozen

Memory — Managed (GC)

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 Smalltalk (ANSI); an unmarked link is the current reference for the language.

Landing page

Specification and reference

Tutorial

1 Assessment

This page assesses Smalltalk 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 49.1/100 · Ecosystem coupling 82.8/100 · Engineering readiness 56.7/100

1.1 Core coupling

1.1.1 Type

  • ❌ No static type check: A variable has no declared type, and a message send is resolved when it executes, so a mismatch is reported at run time (T1)
  • ❌ A receiver’s type is a protocol, not a class: Any object that answers a selector is acceptable, and the compiler checks no such promise (T3)
  • ❌ No sum types and no generics: An alternative is a class hierarchy or a Symbol and a collection holds Objects, so both the branch and the element type are conventions (T4, T5)
  • ❌ No namespaces: A class is entered in the one global system dictionary, so a class name collision is a system-wide event (T6)
  • ❌ nil is an object, not an absent type: A send to nil raises MessageNotUnderstood rather than failing a static check (T10)
  • ❌ No module boundary hides a name: Every class is global in the one system dictionary and any code can reach it, so an internal change can break an unrelated caller (T11)
  • ❌ A method’s effects are carried by no declaration: What a message reads, sends, or mutates is stated nowhere at the signature, so a caller learns it from the body (T12)
  • ❌ The foreign interface is unchecked: A foreign function call passes arguments and returns a value with no check that the two sides agree on order, layout, or ownership (T14)
  • ✅ Message passing separates a request from its implementation: A send names a selector, and the receiver chooses the method that runs

1.1.2 Construction

  • ❌ Global mutable state is the default: A class variable, a class instance variable, or a Smalltalk at: global is reachable from every method, so construction couples to shared state (C1)
  • ❌ Objects are mutable by default: An accessor writes a field in place, and nothing in the language makes an object immutable (C2)
  • ✅ Every operation is a message: +, new, and size are all sends, so a call site does not distinguish an operator from a method
  • ✅ The class object holds the constructor and its initialize hook: new and new: are class-side methods and a subclass can override the setup that follows
  • ⚠️ The class browser compiles into the running system: A change is made in the live image, and the deployed artifact is the image rather than the source files
  • ⚠️ Open classes allow a change from anywhere: Any tool or package can add a method to Object, so a change has system-wide reach
  • ❌ Collection order is unpinned: the standard leaves Dictionary iteration order to the implementation (C5)
  • ❌ One value, many names: all objects are references; a receiver, a field, and a parameter share one object, and the standard names no alias set (C6)
  • ❌ Execution moves with no call in sight: performWith: and compiled-string evaluation resolve text to code at run time, and #doesNotUnderstand runs handler code at sends the source never named (C7)
  • ❌ The image freezes an initialization sequence the source does not state (C8)

1.1.3 Memory

  • ❌ A garbage collector reclaims memory: Collection runs on the virtual machine’s schedule, so the program cannot choose when a pause happens (M2)
  • ❌ No RAII: A resource is released by an explicit message, though ensure: or ifCurtailed: runs a release block on the way out (M3)
  • ❌ No ownership model: A reference is an untracked alias, and only the virtual machine knows when an object is unreachable (M4)
  • ✅ No manual deallocation: An object becomes garbage, and no free message exists
  • ✅ ensure: binds a release to a protected block: The block runs on a normal return and on a signal that unwinds through it
  • ✅ Collection is invisible in the source: An instantiation is new, and no deallocation is ever written
  • ❌ The undeclared class has no catch: the image crash (the stack overflow and primitive-fault classes, documented) ends the session below the exception machinery (Er6)

1.1.4 Error

  • ❌ Failures are signals and no selector describes them: A send may raise any Error subclass, so the failure set is not readable from the method name (Er2)
  • ✅ on:do: installs a structured handler: A handler is bound to a class of signal for the duration of a block, and it returns a value to the sender
  • ✅ ensure: and ifCurtailed: separate the normal path from the cleanup path: The cleanup runs however the block exits
  • ✅ MessageNotUnderstood is a defined signal: A send that no method implements raises it with the receiver and the selector
  • ✅ resume:, return:, and retry state the recovery: A handler can resume the signal, return a value, or re-run the block
  • ⚠️ No handler is checked to exist: The compiler does not know which signals a send raises, so the handler is written from documentation
  • ❌ A fault unwinds the image: an uncaught exception opens the debugger and unwinds the computation; the standard declares no recoverable unit (Er5)

1.1.5 Concurrency

  • ✅ Process and Semaphore are part of the class library: A scheduler multiplexes processes, and a semaphore is the synchronisation primitive
  • ✅ Monitor and SharedQueue are in the class library: The common coordination patterns ship with the environment
  • ✅ Delay suspends a process for a stated time: The scheduler resumes it, so a timed wait is a library call rather than a system call
  • ❌ Every object is reachable from every process: Nothing marks an object as private to one process, so shared mutable state is the default (K2)
  • ❌ The synchronisation discipline is the programmer’s: The class library supplies the primitives, and the language neither proves the discipline nor reports a race (K3)
  • ⚠️ The classic virtual machine decides when a process runs: Priority decides which process resumes, and the switch points belong to the interpreter, so a process at the same priority can hold the CPU through a tight loop
  • ❌ No structured concurrency: No construct scopes a process’s lifetime to a block, so nothing guarantees a spawned process has finished when the block ends (K4)

1.1.6 Platform

  • ✅ The language is standardised independently of a vendor: ANSI INCITS 319-1998 fixes the syntax and the protocols of the standard class library
  • ✅ Several independent implementations exist: Squeak, Pharo, VisualWorks, GNU Smalltalk, and GemStone/S each run the language
  • ✅ GNU Smalltalk runs a text file as an executable: gst file.st needs no image, so a program can be deployed as source
  • ⚠️ The deployment unit is a virtual-machine image: An image carries the classes, the methods, and the live state, so a deployment couples to one virtual machine
  • ⚠️ The image format is not standardised: A program moves between dialects through source, not through an image file
  • ⚠️ Portability stops at the dialect’s tools: Monticello, Metacello, and Seaside are dialect packages, so a portable program stays within the ANSI subset

1.1.7 Trade-offs (not coupling)

  • The image is a deliberate development model: A running system is editable and the image carries the state; the price is that the artifact is a binary snapshot, so a diff between two images is not a diff between two programs
  • Live coding is a workflow choice: A change is compiled into the running system with no restart; the price is that no clean boundary separates the program under test from the program being edited
  • Everything is an object by design: Classes, blocks, and nil are objects, and the uniformity removes special-case rules; the price is that no value sits outside the message protocol, so a fast primitive path is the virtual machine’s business, not the source’s

1.2 Ecosystem coupling

1.2.1 Performance

  • ✅ Modern dialects compile the hot path: The Cog virtual machine of Pharo and Squeak compiles a method to machine code once it becomes hot
  • ✅ The virtual machine is the optimisation boundary: The runtime optimises a method, so no source-level tuning is needed to reach the native path
  • ✅ In-line caches make a polymorphic send cheap: A send site caches the receiver’s class and its method, so a repeated send costs one lookup
  • ⚠️ Steady-state speed is below a statically compiled language: A dynamic send is a polymorphic call site, so a numeric inner loop is slower than in Ada or C
  • ❌ Warm-up precedes peak speed: The interpreter runs a method until the runtime decides to compile it (R3)

1.2.2 Ecosystem

  • ❌ The ecosystem is small and centred on a few communities: Pharo and Squeak carry most of the active library work, and commercial Smalltalk is a niche (Ec3)
  • ❌ Tools bind to a dialect: Monticello, Metacello, and the development environments are dialect packages, so no single toolchain covers the language and a team’s tooling binds to one dialect (Ec2)
  • ✅ Pharo and Squeak are active open-source communities: Each ships a maintained image with tools, a package manager, and libraries
  • ✅ The commercial implementations are long-lived: VisualWorks, VA Smalltalk, and GemStone/S have decades of use
  • ✅ Metacello and Monticello give package management and versioning: A package is loaded from a repository with a version map
  • ✅ Seaside and Glamorous Toolkit add depth: A continuation-based web framework and a moldable development environment are both maintained
  • ⚠️ A library is often image- or dialect-specific: A package loaded into one dialect usually needs adaptation for another

1.2.3 Evolution

  • ✅ Pharo releases on a regular cadence with a migration guide: A release names the changes to the image and the tools
  • ✅ A file-in of source is the migration unit across dialects: A program’s classes and methods load into another image
  • ✅ The ANSI standard is a stable foundation: The standardised language does not move under a program that stays within it
  • ⚠️ Later work is dialect-specific: Each community extends the class library and the tools on its own, so the dialects diverge
  • ⚠️ A dialect fork is the usual form of a break: Squeak and Pharo diverged from a shared image, so a program may target one community only
  • ⚠️ The image carries its own history: An old image can hold classes and methods that the source no longer describes, so a migration needs care
  • ❌ The standard is frozen: The 1998 definition has no revision path, so a missing feature or a defect in the standard is permanent (V2)

1.2.4 Domain

  • ✅ Excellent for prototyping and live systems: The image, the class browser, and the debugger let a system be built and changed while it runs
  • ✅ A strong fit for exploratory modelling: The uniform object model and the interactive debugger support a step-by-step design
  • ✅ A web application has a framework: Seaside serves a deployed web application with continuations, and GemStone/S adds a transactional object store
  • ✅ The environment is the development tool: A refactoring browser, a debugger, and a test runner are part of the image
  • ⚠️ Commercial product work is rare today: A new product team usually picks another language, so precedents and hiring are scarce

1.2.5 Learning

  • ❌ The image-based workflow is unfamiliar and steep: A program is edited inside a running system, and a newcomer must learn the browser, the debugger, and the image at once (L1)
  • ❌ The uniform message model must be internalised: Control flow is a message (ifTrue:, whileTrue:) and class creation is a message, which is unlike an expression-based language
  • ✅ The debugger teaches by inspection: A MessageNotUnderstood opens on the failing frame with the receiver and the selector in view
  • ✅ The browser shows the whole system: A method, its senders, and its implementors are reachable from one tool
  • ⚠️ Little feedback arrives before run time: With no static check, a mistake appears when the path executes

1.2.6 Syntax

  • ✅ A message send has three small forms: Unary (size), binary (+), and keyword (at:put:), and all three are sends
  • ✅ Blocks give inline control flow: [:x | x + 1] is a closure in the same syntax as everywhere else
  • ✅ Cascades group several sends to one receiver: a add: 1; add: 2 sends both messages to a
  • ✅ The grammar is small: The language is famously described in a few lines, and the class library carries the rest
  • ⚠️ A keyword message can nest confusingly: a b: c d: e parses by fixed rules, so a reader must recall them

1.2.7 Testing

  • ❌ A selector or type error appears only when the line runs: With no static check, the first execution of a path is the first check of it (G3)
  • ✅ TestCase and the SUnit runner ship with the environment: A test class with test-prefixed methods is run by the test runner
  • ✅ The debugger opens on the failing test frame: A failure can be inspected and fixed in the running system
  • ✅ should:raise: asserts on a signal: A test states the error class it expects
  • ✅ The test suite lives in the image with the code: A test is a class beside the class it tests
  • ⚠️ An unexecuted path is untested and unchecked: A test covers the branches it runs, and a dynamic mistake in another branch waits

1.2.8 Security

  • ❌ The absent static typing is a security-relevant gap: A selector error, a wrong argument, or a type confusion is detected at run time, and an unexecuted path is not checked (Q2)
  • ✅ Memory safety is the virtual machine’s responsibility: The machine manages references, so a buffer overflow or a use-after-free is not expressible in Smalltalk source
  • ✅ The standard class library exposes no address: There is no pointer value in the language for a program to misuse
  • ⚠️ The image persists running state to a file: An image is a serialised object graph, so a value that should not be saved can be written into the deployed artifact
  • ⚠️ perform: reaches a method by a computed selector: A selector built from input invokes code the source does not name
  • ⚠️ Compiler evaluate: compiles a string into the running system: An untrusted string must never reach it

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
source package source no The image loads source methods and compiles them on the target

1.3 Engineering readiness

1.3.1 Reproducibility

  • ❌ The live image carries state that source alone does not reproduce. (Y1)
  • ❌ Metacello configurations resolve versions from community repositories at load time. (Y2)

1.3.2 Supply chain

  • ❌ Community repositories publish projects with no signed provenance. (Y3)
  • ❌ The registry is a flat name space. (Y4)
  • ❌ No advisory feed covers community packages. (Y16)

1.3.3 Observability

  • ❌ No tracing standard exists in the language. (Y5)
  • ❌ Transcript is the whole logging surface. (Y6)

1.3.4 Feedback

  • ✅ The environment ships its debugger and inspector as part of the image. (Y13)

1.3.5 Interop

  • ❌ The artifact runs inside one Smalltalk VM lineage. (Y10)

1.3.6 Governance

  • ✅ ANSI X3J20 published the Smalltalk standard in 1998. (Y12)
  • ✅ The Squeak and Pharo environments are public source. (Y19)
  • ❌ Correctness is what the dialect does: No conformance suite tests a dialect against the standard, so each implementation’s behaviour defines its own corners of the language (Y17)

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?

  • ⚠️ Runs on a virtual machine, above native code in the energy and time benchmarks [5]; a causal re-analysis attributes most of the gap to execution time [6].

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 training data: models write it unreliably [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 ✅ −8
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 −19.1 (−67)
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 ✅ −4
C6 aliasing by default language ✅ −8
C7 undeclared control transfer language ✅ −8
C8 no source-visible init order language ✅ −8
Construction cost −13.4 (−47)
Memory M1 manual deallocation runtime — 0
M2 GC non-deterministic pauses runtime ✅ −8
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 ✅ −8
M7 reference cycles leak runtime — 0
Memory cost −8.0 (−28)
Error Er1 no structured path language — 0
Er2 unchecked exceptions only language ✅ −8
Er3 errors ignored/non-exhaustive language — 0
Er4 no composable result type language — 0
Er5 no isolation unit for a fault runtime ✅ −8
Error cost −4.6 (−16)
Concurrency K1 GIL/no parallel runtime — 0
K2 shared mutable state default language ✅ −8
K3 manual sync no race detection runtime ✅ −8
K4 no structured concurrency language ✅ −4
K5 no primitives language — 0
K6 thread-per-task cost runtime — 0
Concurrency cost −5.7 (−20)
Platform P1 cannot function outside one vendor/domain context — 0
P2 single-vendor but other uses context — 0
P3 legacy/discontinued platform context — 0
P4 poor domain fit context — 0
Platform cost 0

Core coupling score: 49.1/100 — 178 of the 350 inventory points are present, so the axis cost is 100 × 178 ÷ 350 = 50.9 and the score is 100 − 50.9. 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 — 0
R2 GC pauses runtime — 0
R3 JIT warmup runtime ✅ −4
Performance cost −1.6 (−4)
Ecosystem Ec1 no package manager context — 0
Ec2 fragmented tooling context ✅ −8
Ec3 small/niche/discontinued context ✅ −8
Ec4 proprietary context — 0
Ec5 platform-locked tooling context — 0
Ec6 monoculture context — 0
Ec7 legacy burden context — 0
Ec8 unpromised binary boundary context — 0
Ec9 unpromised data boundary context — 0
Ecosystem cost −6.2 (−16)
Evolution V1 breaking changes language — 0
V2 frozen context ✅ −4
V3 discontinued context — 0
V4 glacial standards context — 0
V5 silent default drift runtime — 0
V7 build-variant state space context — 0
Evolution cost −1.6 (−4)
Domain D1 domain/vendor lock-in context — 0
D3 framework forces architecture context — 0
Domain cost 0
Learning L1 steep context ✅ −8
L2 large surface/multi-paradigm context — 0
L3 sparse docs context — 0
Learning cost −3.1 (−8)
Syntax S1 verbose language — 0
S2 inconsistent language — 0
S3 punctuation-heavy language — 0
Syntax cost 0
Testing G1 weak tooling context — 0
G2 poor debugging context — 0
G3 runtime-only errors context ✅ −4
G4 no published monotonic clock runtime — 0
Testing cost −1.6 (−4)
Security Q1 memory-unsafe language — 0
Q2 dynamic/weak typing risk language ✅ −8
Q3 known vulnerability/injection context — 0
Q4 silent integer overflow language — 0
Security cost −3.1 (−8)

Ecosystem coupling score: 82.8/100 — 44 of the 256 inventory points are present, so the axis cost is 100 × 44 ÷ 256 = 17.2 and the score is 100 − 17.2. 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 ✅ −4
Y16 no advisory feed context ✅ −8
Supply chain cost −15.8 (−27)
Observability Y5 no stable tracing standard context ✅ −8
Y6 no structured logging context ✅ −4
Y15 no post-mortem diagnostics runtime — 0
Observability cost −7.0 (−12)
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 ✅ −4
Interop cost −2.3 (−4)
Governance Y11 single-vendor governance context — 0
Y12 closed specification context — 0
Y17 no conformance mechanism context ✅ −8
Y19 no published parser context — 0
Governance cost −4.7 (−8)

Engineering readiness score: 56.7/100 — 74 of the 171 inventory points are present, so the axis cost is 100 × 74 ÷ 171 = 43.3 and the score is 100 − 43.3. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.

Verdict: Smalltalk’s uniform object model keeps one kind of coupling low — a send names a selector, so a caller is not bound to the receiver’s implementation, and blocks, on:do:, and ensure: give structured behaviour and recovery. The core score is nevertheless in the middle band, because the language’s own constructs force coupling elsewhere: no static type check, no namespaces, no module boundary, no ownership model, global mutable state by default, and open classes that let any tool change any class. The platform cost adds a small ecosystem, an image-based deployment that couples to one virtual machine, a run-time-only error model, and a steep learning curve. Main strength: live, image-based development with a best-in-class debugger, and the language’s proven influence on later object-oriented languages.


The formal development. The definitions, theorems, and proofs behind this page are published in:

All published papers

References

[1]
Y. Loth, “On the nature of coupling: All coupling as shared resource access.” Zenodo, Aug. 2026. doi: 10.5281/zenodo.21925121.
[2]
Y. Loth, “Coupling as a consequence of cohesion: Decomposition, the coupling floor, and domain-imposed coupling.” Zenodo, Aug. 2026. doi: 10.5281/zenodo.21925201.
[3]
Y. Loth, “On the nature of cohesion: Cohesion as correctness relative to a partitioning rule.” Zenodo, Jul. 2026. doi: 10.5281/zenodo.20492912.
[4]
InterNational Committee for Information Technology Standards, “Programming language Smalltalk.” ANSI; ANSI INCITS 319-1998, Washington, DC, 1998.
[5]
R. Pereira et al., “Energy efficiency across programming languages: How do energy, time, and memory relate?” in Proceedings of the 10th ACM SIGPLAN international conference on software language engineering (SLE), 2017, pp. 256–267. doi: 10.1145/3136014.3136031.
[6]
N. van Kempen, H.-J. Kwon, D. T. Nguyen, and E. D. Berger, “It’s not easy being green: On the energy efficiency of programming languages,” in Proceedings of the 40th IEEE/ACM international conference on automated software engineering (ASE), 2025. doi: 10.1109/ASE63991.2025.00131.
[7]
S. Joel, J. J. Wu, and F. H. Fard, “A survey on LLM-based code generation for low-resource and domain-specific programming languages,” ACM Transactions on Software Engineering and Methodology, 2025, doi: 10.1145/3770084.