POWERFUL BY DESIGN

A thoughtful foundation.
Real native execution.

Readable source, useful types and native execution form VOID’s foundation. Explore what each feature means for your code and where development is heading.

VOID Language feature overview

01

Native compilation

LLVM 23.1.4 powers both ORC JIT execution and ahead-of-time object output through one shared lowering pipeline.

Explore native compilation
02

Managed memory

A precise, non-moving tracing collector supports managed structs, nullable graphs and deep readonly access paths.

Explore managed memory
03

Expressive types

Exact-width numbers, value structs, structural interfaces and concrete generics bring structure to everyday code.

Explore expressive types
04

Useful collections

Lists, fixed arrays and dictionaries offer recoverable get operations; list pop handles empty collections explicitly.

Explore useful collections
05

Explicit control flow

Named/default calls, typed if-expressions, string-only interpolation and explicit results keep everyday intent readable.

Explore explicit control flow
06

Bounded concurrency

Cooperative async tasks and structured groups are implemented. Native workers currently accept a restricted value-only subset.

Explore bounded concurrency
Implemented foundation

Native code, two ways to work.

VOID compiles source through LLVM. Just-in-time execution runs compiled code during development; ahead-of-time compilation emits an object file that can be linked into a native executable.

Both paths use the same language rules and lowering pipeline. Applications can use a zero-argument main or executable top-level statements selected from the program. Application exit status is separate from standard output. Unicode scalar indexing, scalar/byte counts and UTF-8 conversion are implemented too. The compiler is built with C++20 and uses LLVM 23.1.4. VOID is still in development, with no public builds available yet.

See the shape of a VOID program
Implemented foundation

Write the idea once.

Generic functions and structs express an operation or data shape in terms of a type parameter. A function such as identity<t>(value: t) -> t can return its input while keeping its concrete type.

Concrete generic instantiations preserve types. Compile-time Type has Target checks direct using-components or structural interface conformance. The numeric prelude supplies limits, abs and clamp without imports. Explore type relationships and numeric operations.

Explore generics
Implemented subset

Express work that can wait.

An async func can suspend at await while other cooperative tasks proceed. Structured task groups give related work a lifecycle, and bounded native workers support parallel execution of a restricted value-only subset.

Async tasks cooperate within a scope. Native workers take supported values and return a result to the owning Runtime. Completed, unobservable task records can be retired after quiescence. Retaining results still uses memory. See Task groups and cancellation.

Explore async and await

Work with files, text and network data

Use text and encoding for external data, io and path for files, and net/http for buffered or streaming responses. These APIs expose fallible operations through typed results.