Skip to content
Systems programming for what’s next.
— Vex

Vex capability map ​

Vex combines application programming, explicit resource ownership, concurrency, compile-time programming and data-parallel computation. This map connects each part of the language to a guide, reference or complete example. Start with the example collection when you prefer to learn through a task.

Language and data modeling ​

CapabilityWhat you can expressRead next
Bindings, expressions and control flowImmutable values, explicit mutation, conditions, loops and rangesSyntax, control flow, loops
Functions and callable valuesNamed functions, overloads, closures and higher-order interfacesFunctions, closures, function types
Numeric and textual valuesExplicit integer/float widths, booleans, characters, strings and complex numbersPrimitives, strings, complex
Structured dataStructs, tuples, arrays, enums, unions and pattern matchingStructs, enums, patterns, unions
Reusable interfacesGeneric types/functions, contracts, associated types and receiver methodsGenerics, contracts, methods
Policies and operatorsReusable field-metadata policies, custom operator contracts and precedencePolicies, operators
Absence and failureTyped Option/Result values, propagation, matching and compensationOption, Result, error handling
Modules and packagesExplicit imports/exports, facade modules, package manifests and workspacesModules, package manager
Template literalsMultiline text construction with interpolation and control structuresTemplates

Ownership and resource control ​

CapabilityDesign purposeRead next
Moves and borrowsMake ownership transfer and temporary access part of interfacesOwnership, borrowing, lifetimes
Explicit mutable accessDistinguish a changing binding from permission to mutate a borrowed valueVariables, borrow rules
Owning containersStore dynamic data with defined allocation, clone and drop behaviorVec, Box, maps and sets, ordered maps
Borrowed viewsPass a bounded region without transferring or extending its ownershipSpan, raw buffers
Typed low-level accessExpress pointer/ABI obligations at a controlled unsafe boundaryPtr, unsafe, FFI
Runtime ownership modelUnderstand allocation regions, sharing and reference-counted valuesVUMM, memory prelude
Suspension-safe lifetimesKeep task inputs and frame-bound references valid across awaitPin, async internals
Cleanup and contextTie resources, cancellation and contextual values to an explicit lifetimeContext, native cleanup

Concurrency and compute ​

CapabilityWhat it contributesRead next
Tasks and channelsConcurrent producers/consumers, bounded queues and result collectionConcurrency, channels, fan-in
Async/awaitTyped functions that can suspend while retaining owned stateAsync, fallible batches
SIMD and static tensorsElementwise operations, shape-aware values and reductionsSIMD, operations, masks
Dynamic tensorsRuntime dimensions and the matching tensor ownership modelDynamic tensors
Graph functionsTyped dataflow that can be analyzed and lowered through Silicon IRGraph functions, fusion
Accelerator pathsBackend-specific code generation, executor selection and host/device boundariesGPU, SIMD/SIMT contract, backends
Automatic differentiationForward-mode derivatives of supported numerical expressionsAutograd
Native and freestanding codeForeign calls, target interfaces, inline assembly and controlled runtime dependenciesFirst native call, freestanding, assembly

Shape, numeric precision, ownership, target ABI and available native providers are part of each API's contract. Selecting an operation and selecting its execution device are separate decisions; the specialist guides explain both.

Compile-time programming ​

CapabilityTypical useRead next
Strict compile-time evaluationCompute constants and reject invalid configurations during compilationComptime
Typed reflectionInspect fields and types while retaining ordinary type checkingComptime recipes
Structural declaration generationGenerate typed functions, methods, types, aliases and conformancesDeclaration generation
Partial evaluation and residual stagingApply proven values while retaining runtime expressions for dynamic workComptime pipeline, CLI modes
Builtins and directivesAccess phase-specific operations and declared compilation controlsBuiltins, directives

Libraries and tools ​

The standard-library directory covers files and paths, I/O, system services, text/Unicode, parsing and serialization, compression, hashing, cryptography, randomness, time, CLI applications, logging, testing, databases, network protocols, geometry, media, image processing, WebRTC, ML and inference. Each guide describes its public entry points and native dependencies.

For source-processing programs, the language-tooling libraries cover all ten IDE package families: Logos, Ungram, Rowan, Salsa, Ariadne, Pretty, Doc, LSP, DAP and VXIR.

The toolchain reference connects compiling, running, linting and verified fixes, formatting, testing, documentation, package/workspace operations, inspection and bundled native tools. Compiler testing tools cover generated inputs, deterministic replay and compiler-phase benchmarks.

VexHDL and Studio are companion hardware-description and design tools. Their language, simulation/synthesis workflows and product releases are separate from the Vex systems-language compiler.

Choose a workflow ​

  1. Pick a concrete input, output and failure contract from the example collection.
  2. Use the linked language and library guides to design the data and ownership boundaries.
  3. Pin the compiler/package versions, then test the relevant execution target.
  4. Retain example results using the verification guide.

The versioning policy describes compatibility in the 0.x series. The platform guide explains target and native library selection. Test records identify the program, compiler and target they cover; this feature map is navigation, not a claim that every combination has been run on every machine.

Released under the MIT License.