THE VOID LANGUAGE GUIDES
VOID Language guides.
From syntax to async.
Explore the language, one useful idea at a time.
Start with named/default calls and application entry, then explore Unicode text, recoverable collections, generics, patterns, async work and compiler-owned tooling. The guides explain current behavior and identify features still being built.
VOID is in development. There are no public builds available yet.
Start with the basicsFoundations
Data & behavior
Collections
Arrays, lists and recoverable operations.
Dictionaries
Ordered key/value data.
Strings & Unicode
Scalar indexing, interpolation and UTF-8.
Structs & memory
Value copies and managed identity.
Initialization
Defaults and custom init.
Receiver methods
Behavior attached to data.
Composition
Using-components and type relationships.
Inheritance & dispatch
Explicit base and virtual behavior.
Interfaces
Structural behavior contracts.
Generics
Reusable typed operations.
Properties
Field-style access with logic.
Callable structs
Represent an operation as data.
Functions & closures
Functions with captured state.
Events
Ordered synchronous notifications.
Nullable values
Model presence and absence.
Enums & pattern matching
Match and capture shaped data.
Results & errors
Handle recoverable outcomes.
Defer & resource cleanup
Make release deterministic.
Concurrency
Tooling & integration
Library and applications
Math and seeded random numbers
Clamp an out-of-range score and reproduce a sequence of random choices.
Collection helpers
Transform and search lists while keeping the original ordering available.
Text and byte encodings
Trim a label, count its Unicode scalars and choose an encoding for bytes.
Binary values and memory streams
Choose a byte order before storing a number or reading a protocol field.
Files and host paths
Extract a filename and handle a filesystem operation through its result.
Platform information and directories
Find the host platform or ask for the right application directory.
Logging
Choose a severity threshold and handle failures at the output boundary.
Topic subscriptions
Deliver a typed notification to a subscriber and disconnect it by handle.
URLs and HTTP clients
Encode a query component, then choose buffered or streamed HTTP responses.
Running and building applications
Run source during development and build a native executable from the same program.
Writing to the console
Write one line to standard output and return a separate application status.
Reading JSON data
Decode a numeric document into a checked source type before using its value.
Dates and clocks
Validate a calendar date and choose between wall time and elapsed time.