Types
Primitive and built-in type forms used by Thrust.
Stable syntax topics with behavior notes and practical guidance.
Search the standard library, language reference, and compiler command line reference for this version.
The language reference maps syntax materials into topic pages with plain explanations. Each topic includes a short overview, representative signatures, notes about behavior, and practical guidance.
Pages can be read in order or used independently. They prioritize stable constructs and clear behavior over shorthand descriptions.
Primitive and built-in type forms used by Thrust.
Declaration and mutation patterns for local and static storage.
Compile-time values that cannot be reassigned.
Function declarations, arguments, return types, and visibility.
Compile-time generic templates for functions and structures.
Imports, aliases, and selective import scopes.
Conditional and control statements for runtime execution.
Target-dependent branching using @if, @elif, and @else.
Declaration modifiers for linkage, calling convention, and compile-time behavior.
Compiler-provided functions, low-level memory and ABI operations, and builtin types for type, target, host, and compile-time work.
Explicit type conversion between compatible source and target types.
while, for, and loop constructs for repeated execution.
User-defined aggregate types with named fields.
Named constants grouped under a common enum name.
Calling C functions through @extern and @convention attributes.
Pointer access, references, and dereference operations.