VOID Language roadmap

Math, Random & Timing Foundations

Array and collection expression foundations are complete. The next phase fills in the numeric and timing utilities ordinary programs depend on, with deterministic seeded randomness, portable entropy at a narrow native boundary, and elapsed-time measurement built on VOID's existing monotonic clock.

Current phase

Math, Random & Timing Foundations

Current

This phase keeps common numeric helpers in ordinary library/runtime paths instead of creating special compiler behavior. It starts with integer and floating-point Math semantics, builds deterministic Random around explicit state and unbiased sampling, adds portable automatic seeding through a small entropy boundary, and reuses the monotonic clock for Stopwatch.

Next

Math Integer Foundations

Math integer foundations: Min, Max, Abs, Clamp, Sign, and their boundary semantics.

Planned

Floating-Point Math

Math and MathF floating-point functions: Sqrt, Pow, Sin, Cos, Atan2, and related operations.

Planned

Rounding & Floating-Point Edges

Rounding, Floor, Ceiling, Truncate, and defined floating-point edge behavior.

Planned

Deterministic Seeded Random

Build the Random foundation around deterministic seeded behavior with explicit internal state.

Planned

Unbiased Integer Sampling

Add unbiased random integer ranges and upper bounds with overflow-safe sampling.

Planned

Random Floating-Point & Bytes

Add random floating-point values and byte-buffer generation on the same explicit-state foundation.

Planned

Portable Automatic Seeding

Add portable automatic random seeding through a small native entropy boundary.

Planned

Stopwatch & Elapsed Time

Add Stopwatch and elapsed-time measurement by reusing the existing monotonic clock.

Planned

Numeric, Random & Timing Integration

Integrate and stabilize numeric, random, and timing behavior across their normal library, runtime, and platform boundaries.

Planned

Independent Work Integration Audit

Run the independent Work integration audit across the complete block and cumulative suite before locking the phase.

Completed foundations

Completed phases, without the wall of text.

Each completed phase keeps its full public history, but starts collapsed. Open only the section you want to inspect; the active phase above remains expanded.

Completed

Array & Collection Expression Foundations

  • Contextual array initializers: Array initializer forms such as int[] a = {1, 2, 3}; use contextual element typing and the existing conversion rules.
  • Collection expression foundation: Bracket collection expressions such as int[] a = [1, 2, 3]; work as a general expression form rather than an array-only special case.
  • Target typing & conversions: Empty [], element conversions, and overload resolution participate in ordinary target-typed semantic selection.
  • Array spread expressions: Forms such as [1, ..other, 5] preserve element order, conversion rules, and the target collection contract.
  • Span collection targets: Collection expressions can target Span<T> and ReadOnlySpan<T> through the existing contiguous-memory model.
  • List & custom collection construction: List and compatible custom collection targets reuse existing collection mechanisms instead of syntax-specific compiler branches.
  • Extensible collection construction: Generalized construction follows reusable extensibility contracts rather than introducing a parallel collection type system.
  • Generic & nested contexts: Collection expressions compose through generics, interfaces, nested expressions, and other target-typed contexts.
  • Collection integration & stabilization: Arrays, spreads, spans, lists, custom targets, conversions, overloads, generics, and nested contexts are exercised together.
  • Full integration audit: Parser, semantics, lowering, diagnostics, tooling, generated C, and the cumulative suite are audited together before the block is locked.
Completed

Correctness & Native Backend Completion

  • Implicit instance receiver binding: Unqualified instance calls bind through implicit this in instance contexts while preserving overload resolution, inheritance, virtual dispatch, generics, lambdas, iterators, async methods, method groups, and static-context rules.
  • Ordinary local definite assignment: Ordinary locals cannot be read before definite assignment across branches, loops, short-circuit flow, exceptions, captures, iterators, async lowering, and ref/out flow.
  • Using alias semantic binding: using Alias = Target; resolves through the ordinary namespace/type system with accessibility, generics, qualification, tooling, ambiguity, and diagnostics.
  • Defined signed integer arithmetic: VOID owns signed-overflow behavior instead of relying on C signed-overflow undefined behavior, keeping runtime arithmetic deterministic across native backends.
  • Signed arithmetic & conversion boundaries: Defined arithmetic rules apply across integer widths, operators, increment/decrement, compound assignment, conversions, constants, generic operators, and native boundaries.
  • Strict generated-C cleanliness: Supported generated C is kept clean under -std=c11 -Wall -Wextra -Wpedantic -Werror -O2 without hiding warnings through suppression.
  • Literal & host-C consistency: Literal, escape, Unicode scalar, numeric constant, and emitted-C handling follow VOID semantics instead of accidental host-C parsing or implementation quirks.
  • Correctness cross-feature integration: Binding, flow, arithmetic, aliases, and backend behavior are exercised with generics, inheritance, lambdas, delegates, iterators, async, exceptions, GC-managed values, threads, and native interop.
  • Correctness stabilization: Application-style stabilization closes block-specific integration defects, removes only proven-obsolete paths, and preserves one authoritative implementation path.
  • Correctness & native backend audit: Whole-system behavior, permanent regressions, strict generated C, native arithmetic correctness, semantic/tooling agreement, and the cumulative suite are audited together before the block is locked.
Completed

Out-Variable Ergonomics & Runtime Developer Diagnostics

  • Inline typed out variables: Add declarations such as out int age as ordinary locals integrated with overload resolution, generics, definite assignment, diagnostics, and tooling.
  • out var inference: Infer inline out-variable types from resolved out parameters through the existing overload and generic-inference systems.
  • Out-variable scope, flow & discards: Complete branches, loops, short-circuit conditions, shadowing, multiple declarations, definite assignment, and out _ discards.
  • Runtime source excerpts: Give runtime failures source locations, source lines, precise span markers, and human-readable failure information using developer-friendly source presentation.
  • Synchronous VOID call stacks: Track truthful synchronous VOID frames through methods, recursion, constructors, properties, lambdas, static initialization, and generated call paths.
  • Exception & failure stack preservation: Preserve source origins and call stacks through throw, catch, rethrow, finally, nested handlers, and internal runtime failures.
  • Unified runtime diagnostic presentation: Put the immediate friendly source diagnostic before the complete stack trace so the cause stays visible even when the trace is large.
  • Source, publish & native fallbacks: Remain truthful when source is unavailable and across published/native boundaries, keeping VOID exceptions, runtime failures, native crashes, process exits, and launch failures distinct.
  • Cross-feature runtime diagnostics: Integrate runtime diagnostics with generics, delegates, lambdas, constructors, properties, static initialization, GC, recursion, nested exceptions, native boundaries, and realistic application code while keeping async logical ancestry separate unless it can be represented truthfully.
  • Out variables & runtime diagnostics audit: Validate language flow, tooling, runtime diagnostics, generated C, cross-feature behavior, cumulative tests, documentation, and supported-platform behavior together.
Completed

Type-Qualified Static Members & Built-In API Foundations

  • General type-qualified member access: Give built-in keywords, ordinary/qualified types, and constructed generic types a real type receiver instead of pretending they are runtime values.
  • Static values on type receivers: Resolve static fields, constants, and properties through the generalized receiver model with accessibility and specialization intact.
  • Static methods & generic calls: Route overload resolution, method groups, generic methods, delegate conversion, and call code generation through the same type-receiver path.
  • Constructed generic static members: Complete substitution, specialization, code generation, diagnostics, and tooling for forms such as Container<int>.Member.
  • Built-in associated members: Give every non-void built-in type a general route to source-owned StandardLibrary static members without per-member compiler switches.
  • Built-in static values: Complete primitive constants/properties plus Index.Start, Index.End, Range.All, and readonly-struct static-property behavior.
  • Integral, boolean & character parsing: Add source-owned Parse/TryParse contracts with shared format and overflow handling instead of primitive-specific lowering.
  • Floating & decimal parsing: Extend parsing to floating and decimal types with coherent default/invariant semantics and defined NaN, infinity, and overflow behavior where applicable.
  • Static API integration: Exercise the generalized mechanism through built-in static surfaces and EqualityComparer<T>.Default rather than hidden compiler branches.
  • Type-qualified integration audit: Validate parser, semantics, specialization, code generation, diagnostics, LSP, StandardLibrary behavior, strict generated C, cumulative tests, and supported platforms together.
Completed

Rich Diagnostics & Developer Experience

  • Structured diagnostic foundation: Unify lexer, parser, semantic, generic-specialization, and driver failures around one compiler-owned record carrying severity, stable code, message, source span, and ordered context.
  • Source snippets & precise spans: Render compiler snapshots with accurate markers for ranges, insertions, multiline spans, tabs, UTF-8, CRLF, and files without trailing newlines.
  • Notes & related context: Explain useful semantic rules and attach declarations, parameters, interface/base contracts, generic declarations, and other relevant source locations.
  • Actionable help: Offer first-class help for known corrections such as missing delimiters, static-class use, and invalid in-parameter mutation without speculative spelling fixes.
  • Parser recovery: Keep one root syntax diagnostic, recover conservatively at top-level boundaries, preserve later syntax for consumers, and still reject invalid programs.
  • Semantic explanations: Improve conversion, return, call, member, accessibility, readonly, interface, and generic-constraint diagnostics while preserving complete consumed expression spans.
  • Related source locations: Preserve useful original locations through ordinary and generic-specialization paths so diagnostics can point to the contract that caused the failure.
  • Stable VOID diagnostic codes: Centralize lexical, syntax, semantic, and driver/project/build diagnostic-family identifiers with meanings that are not recycled.
  • Machine-readable diagnostics: Add optional JSON-lines output from the same structured records used for terminal diagnostics, including spans, notes, help, related locations, and truncation state.
  • Rich diagnostics integration audit: Validate representative compiler systems, source snapshots, escaping, redirected output, native build/publish behavior, and the full cumulative test suite.
Completed

Console, Standard IO & Terminal Integration

  • StandardLibrary layout & line input: Audit source placement by namespace and add shared UTF-8 stdin plus blocking Console.ReadLine() with newline and EOF handling.
  • Character input & shared buffering: Add Console.Read() over the same input buffer so character and line reads compose without losing input.
  • Readers, writers & Console endpoints: Add reusable TextReader/TextWriter foundations and route Console.In, Out, Error, Write, and WriteLine through them.
  • Console redirection: Add SetIn, SetOut, SetError, and redirected-stream state through ordinary library composition.
  • Standard streams: Add the reusable synchronous Stream foundation and OpenStandardInput/Output/Error instead of Console-only transport types.
  • Encoding integration: Add Console input/output encoding over the established text infrastructure while native transport remains byte-oriented.
  • Key input: Add console key types and ReadKey with echo/intercept behavior over narrow host-terminal primitives.
  • Interactive input control: Add key availability, Ctrl+C input policy, and cancel-key event integration through existing delegate/event/threading rules.
  • Terminal presentation: Add clearing, colors, cursor controls, and compatible title behavior where the host terminal supports them.
  • Console/IO integration audit: Validate UTF-8, EOF/newlines, redirection, streams, encoding, keyboard input, terminal state, GC/thread interaction, piping, published executables, namespace placement, and the full cumulative test suite.
Completed

Core Strings, UTF-8 & Text Construction

  • UTF-8 Validity & Unicode Scalar Foundation: Enforce valid UTF-8 for managed strings with one shared decoder/validator, preserve embedded NUL, reject malformed native-to-VOID construction, and validate Unicode scalar values.
  • String Core Properties & Empty Semantics: Add Length, ByteLength, IsEmpty, and string.Empty while keeping null distinct from the empty string.
  • String Character Indexing, Index & Enumeration: Make indexing, from-end positions, bounds checks, and allocation-free foreach (char ...) operate on Unicode scalar positions instead of raw UTF-8 bytes.
  • String Range Slicing & Substring Completion: Add scalar-based Range slicing and Substring, returning ordinary immutable managed strings rather than introducing borrowed string views.
  • String Concatenation & Composition: Add string/char concatenation and += with once-sized UTF-8 allocation, overflow checks, and embedded-NUL correctness.
  • Ordinal String Search & Comparison: Add deterministic ordinal contains/prefix/suffix/search/comparison operations while returning scalar positions to VOID code.
  • Immutable String Editing Operations: Add Insert, Remove, and Replace through the shared UTF-8/scalar machinery while preserving immutable string semantics.
  • StringBuilder / Efficient Text Construction Foundation: Add reusable mutable construction storage whose result is always a normal managed string.
  • Interpolated Strings & Primitive Text Formatting: Add C#-style interpolation lowered through the text-construction path with deterministic invariant primitive formatting rather than temporary-string chains.
  • Core Strings, UTF-8 & Text Construction Integration Audit: Audit text across GC, collections, closures, iterators, async, threads, exceptions, native ABI, exports, construction, interpolation, and generated C while guarding against duplicate UTF-8 implementations or a second string representation.
Completed

Managed Strings & Native String ABI

  • Managed String Representation Foundation: Replace raw const char * storage with GC-managed VcString * carrying an explicit byte length. Literals use their compiled length so embedded NUL survives. Existing NUL-terminated extern calls keep working temporarily through a call-scoped borrow bridge without defining the permanent native string ABI.
  • Length-Aware String Semantics & Embedded-NUL Completion: Move equality, hashing, output, metadata, and related runtime paths to managed byte lengths instead of C termination rules. Embedded NUL remains ordinary string data, establishing VOID string semantics before permanent native ABI policy.
  • Native String ABI Contract Metadata Foundation: Keep string as the source-language type while native declarations carry metadata describing its ABI representation: borrowed NUL-terminated, pointer + length, borrowed/static return, owned return, or retained lifetime. Invalid combinations are diagnosed through VOID's existing native/attribute machinery.
  • Borrowed NUL-Terminated UTF-8 Parameter Completion: Define borrowed NUL-terminated UTF-8 parameters as call-scoped views over managed string data. Reject embedded NUL at this boundary, define null behavior explicitly, and avoid conversion or allocation when the managed value is already suitable.
  • Pointer + Length Native UTF-8 Parameters: Support pointer + length UTF-8 parameters so native APIs can receive the full managed byte sequence, including embedded NUL, without conversion. Borrow directly when possible and validate any native length conversion instead of silently truncating.
  • Borrowed & Static Native String Returns: Convert borrowed or static native UTF-8 returns, including pointer + length forms, into ordinary managed strings before VOID code receives them. Native pointers never escape as fake managed strings, and null native results have defined semantics.
  • Owned Native String Returns & Release Contracts: Handle native-owned string returns with explicit release contracts. Convert the text into a managed string, release native storage exactly once, and keep failure and exception cleanup safe from leaks or double release.
  • VOID String Export ABI: Let exported VOID APIs use normal string without exposing the internal VcString layout as the C ABI. Marshal inbound text into managed strings and outbound text into stable ABI representations with explicit lifetime and ownership rules.
  • Native String Lifetime, Callback & Boundary Integration Completion: Apply the string ABI contracts across callbacks, function pointers, threads, library boundaries, GC transitions, and exception cleanup. Retained pointers require explicit lifetime contracts, while writable native text buffers remain separate from immutable managed strings.
  • Managed Strings & Native String ABI Integration Audit: Audit managed strings and every native string boundary end to end: embedded NUL, GC/storage paths, parameter and return contracts, exports, callbacks, ownership, and generated C. Guard specifically against reintroducing string == const char * or inventing a second ordinary text type.
Completed

Async Timing & Cancellation Composition

  • Shared Monotonic Timer Queue Foundation: Build one internal timer service on the already-locked monotonic timing/runtime primitives. It should support cancellable timer registrations and multiple deadlines without spawning one thread per timer and without putting a ThreadPool worker to sleep for the duration. This is infrastructure only; no Task.Delay yet. The timer service should be shared by every later feature in this block.
  • Task.Delay Foundation: Add Task.Delay(int millisecondsDelay). Zero completes immediately, finite delays use the shared timer queue, and Timeout.Infinite represents a Task that does not complete by time. Invalid values below -1 fail deterministically. Absolutely no Thread.Sleep, worker blocking, or thread-per-delay implementation.
  • Task.Delay Cancellation & Race Completion: Add Task.Delay(int millisecondsDelay, CancellationToken cancellationToken). Pre-cancellation, cancellation while pending, timer-vs-cancel races, originating token propagation, registration cleanup, GC rooting, and exactly-one terminal transition. A losing timer/cancellation callback must become harmless.
  • CancellationTokenSource Disposal & Registration Lifetime Completion: Make CancellationTokenSource properly disposable and give it deterministic ownership of external registrations/timer registrations. This is an architectural prerequisite for linked sources and delayed cancellation so they do not leave parent registrations or timer state rooted forever. Existing cancellation semantics stay intact.
  • CancellationTokenSource.CancelAfter Completion: Add delayed cancellation using the same timer queue: source.CancelAfter(millisecondsDelay); Support finite delay, zero, Timeout.Infinite disabling, repeated deadline replacement, ordinary Cancel() racing with the timer, disposal, forced GC, and concurrent reset/cancel races. Do not implement this as Task.Delay(...).ContinueWith(...).
  • Linked CancellationTokenSource Completion: Add linked-token composition, one/two-token and/or params forms as fits VOID's existing API conventions. Parent cancellation should cancel the linked source through ordinary cancellation registrations; no polling thread and no compiler support. Disposing the linked source must unregister from every parent deterministically.
  • Task.WaitAsync Cancellation Completion: Add nonblocking Task.WaitAsync(CancellationToken token) and Task<T>.WaitAsync(CancellationToken token). Cancellation applies to waiting for the Task, not to the original Task itself. If the wait is canceled, the antecedent keeps running and may complete later. Result/fault/cancellation from the antecedent propagate normally when it wins. Use Task continuations + cancellation registrations, not a blocked worker.
  • Task.WaitAsync Timeout & Combined Cancellation Completion: Add timeout forms, including the combined timeout/token form. A timeout should fault the proxy with a proper TimeoutException; cancellation should produce normal cancellation; antecedent completion should propagate its own state. Task-vs-timeout-vs-cancellation races must have exactly one winner and clean up both timer and token registration afterward. Again, the antecedent Task remains untouched if the wait times out or is canceled.
  • Async Timing, Cancellation, GC & Thread Integration: Cross-system integration milestone. Combine Task.Delay, CancelAfter, linked sources and WaitAsync with async lambdas, ValueTask/custom awaiters, await using, WhenAll/WhenAny, async iterators, exceptions/finally, forced GC, ThreadPool contention, static-library/native boundaries, and timer/cancellation races. High-iteration race stress stays opt-in outside make test.
  • Async Timing & Cancellation Integration Audit: Final architecture audit for the block. Recheck monotonic deadlines, timer ownership, shutdown/lifetime behavior, timer-vs-cancel races, cancellation registration cleanup, GC roots, Task result propagation, native POSIX/Windows timing paths, and all earlier async systems. This gets the mandatory complete cumulative make test.
Completed

Async Lambdas, Async Disposal & Task Composition

  • Async Lambda Syntax & Semantic Foundation: Add async () => ..., async x => ..., and block-bodied async lambdas. Target Task/Task<T>/ValueTask/ValueTask<T>-returning delegates and reuse the existing async return/await semantic rules. I would deliberately not add async void yet; completion/faults should remain observable unless we later design a proper fire-and-forget error policy.
  • Async Lambda State-Machine Lowering: Lower async lambdas through the existing async state-machine machinery rather than creating a lambda-specific async engine. Completed and genuinely suspending awaits, multiple awaits, return values, faults, cancellation, and generalized custom awaiters all go through the mechanisms already locked by the existing async work.
  • Async Lambda Capture, Generic & GC Lifetime Completion: Make closure capture and suspension coexist correctly: captured locals, parameters, this, managed references, structs, generic values, nested lambdas, forced GC, and lambda/state-machine lifetime. This is important because an async lambda potentially has both a closure object and a suspension state machine.
  • Async Lambda Delegate, Event & ValueTask Integration: Exercise ordinary/generic delegates, Task and ValueTask delegate results, delegate invocation, events whose delegate returns an awaitable, interface/object-model interaction, library boundaries, custom awaitables inside async lambdas, and diagnostics. Still one async mechanism.
  • await using Syntax & Structural Async-Dispose Semantics: Add statement/declaration forms such as await using (...) and await using var .... Resolve DisposeAsync() structurally and run its result through the existing generalized awaiter binder, requiring GetResult(): void. The locked Task-returning IAsyncDisposable interface stays unchanged; Task, ValueTask, and custom valid awaitables should all work.
  • await using State-Machine & Structured Cleanup Completion: Complete asynchronous disposal through normal exit, return, break, continue, faults, catch/finally, nested resources, mixed synchronous/async using, LIFO cleanup, disposal suspension, disposal faults, and managed-resource GC lifetime. No separate cleanup state machine.
  • Task Completion Factories & Async Task.Run Unwrapping: Add the missing composition primitives such as CompletedTask, FromResult<T>, faulted/canceled task construction, and proper Task.Run(Func<Task>) / Task.Run<T>(Func<Task<T>>) behavior. An async delegate passed to Task.Run must produce one Task, not Task<Task>, and unwrapping must be continuation-driven rather than blocking a worker with Wait().
  • Task.WhenAll Completion: Add nonblocking Task and Task<T> aggregation, generic result arrays in original input order, empty-input behavior, GC rooting, cancellation/fault propagation, and races. I would fit this to VOID's existing singular Task exception model rather than bolt on a half-designed .NET AggregateException subsystem just for this milestone.
  • Task.WhenAny Completion: Add race-safe first-completion composition for Task and Task<T>. The outer Task completes successfully with the winning Task regardless of whether that winner completed, faulted, or canceled. Cover simultaneous completion, GC, async lambdas, await using, ValueTask/custom awaits, and worker-thread races.
  • Async Lambdas, Async Disposal & Task Composition Integration Audit: Final block-wide audit combining async lambdas, captures, generalized awaiters, Task/ValueTask, await using, Task.Run unwrapping, WhenAll/WhenAny, exceptions, cancellation, async iterators, GC, threads, native/library boundaries, and diagnostics. This is the milestone where I run the mandatory complete cumulative make test.
Completed

Generalized Awaitables & ValueTask Foundations

  • Awaiter Protocol Semantic Foundation: Teach semantic analysis the structural await pattern: GetAwaiter(), IsCompleted, OnCompleted(Action), and GetResult(). No .NET interface dependency; VOID owns the contract. GetResult() determines whether the await expression is void or produces a value.
  • General Awaiter State-Machine Lowering: Extend the existing async state machine so arbitrary awaiters can suspend/resume. The awaitable must be evaluated once, the awaiter stored correctly across suspension, completion checked once, continuation registered through OnCompleted, and GetResult() executed after resumption. This should extend the current async machinery, not create a second lowering pipeline.
  • TaskAwaiter & Task Await De-Specialization: Add TaskAwaiter / TaskAwaiter<T> and Task.GetAwaiter(). Then move ordinary await Task onto the same generalized protocol as custom awaitables. After Task de-specialization, Task should no longer need a private compiler-only await path. I would also let the awaiter use Task's internal continuation registration directly instead of allocating an extra continuation Task.
  • Generic, Struct & Extension Awaiter Completion: Make the protocol compose with generic awaitables, generic awaiters, ordinary value-type awaiters, and existing extension-method resolution for GetAwaiter. Ref-like values that cannot legally survive suspension must be diagnosed rather than boxed or silently copied somewhere unsafe.
  • Task.Yield / Allocation-Free Yield Awaitable: Introduce a small YieldAwaitable/awaiter value type. IsCompleted is false, continuation registration queues through the existing ThreadPool, and GetResult() is empty. This gives VOID a real custom awaitable in its own standard library and proves generalized await works without manufacturing a Task object.
  • ValueTask Foundation: Add non-generic ValueTask as a true value-type awaitable. A synchronously completed value should require no Task allocation; an incomplete/faulted/canceled asynchronous operation may use an existing Task as backing. Do not add pooling or an IValueTaskSource-style subsystem yet.
  • ValueTask<T> Result & GC Completion: Add typed inline results plus Task-backed asynchronous results. Managed-reference T must remain correct across GC. Completion, faults, and cancellation must follow the same observable semantics as Task without turning ValueTask into a hidden managed object.
  • Async ValueTask Return Integration: Allow async ValueTask and async ValueTask<T> methods. I would prioritize correctness and reuse the existing state-machine/completion machinery; I would not introduce clever pooling or a second async builder system just to advertise zero allocations. Completed/manual ValueTasks are already useful; deeper allocation optimization can come in a later performance block once the semantics are locked.
  • Awaiter/ValueTask GC, Threads, Exceptions & Async-Iteration Integration: Cross-system milestone: custom awaiters and ValueTask through worker threads, forced GC, cancellation, exceptions, try/catch/finally, library boundaries, nested Task/ValueTask awaits, and async iterators. Awaiter state and managed references must survive suspension correctly and cleanup must remain deterministic.
  • Generalized Awaitables & ValueTask Integration Audit: Final strict audit: custom class/struct/generic/extension awaiters, Task compatibility, YieldAwaitable, ValueTask/ValueTask<T>, async ValueTask methods, GC/lifetime, exceptions/cancellation, generated C, diagnostics, and the complete cumulative make test.
Completed

Native Heap & Function Pointer Interop

  • Native Heap Runtime Foundation: Add one platform-neutral runtime allocation layer for unmanaged allocation/free with checked sizes and deterministic failure behavior. Keep it completely separate from the managed GC.
  • NativeMemory Allocation Surface: Expose explicit unsafe allocation/free APIs through the standard library. Raw native allocations remain manually owned; no hidden GC ownership or fake safety.
  • Generic Typed Native Allocation Completion: Build typed allocation on the existing where T : unmanaged proof: checked count * sizeof(T), typed pointers, unmanaged structs, generic callers, zero-length behavior, and overflow diagnostics/runtime checks. No second unmanaged classifier.
  • Native Reallocation & Alignment Completion: Add realloc/aligned allocation semantics through the same runtime backend, including preservation/failure rules, alignment validation, zero-size behavior, and strict C portability.
  • Native Function Pointer Type Foundation: Introduce a real native function-pointer type with parser/semantic/type-system support. It should be unmanaged, nullable, comparable, storable in unmanaged structs, and restricted to ABI-compatible parameter/return types.
  • Native Function Address & Indirect Call Completion: Support obtaining addresses of compatible native extern functions and invoking them indirectly. Calls must reuse the existing native-boundary GC-safe transition instead of creating a second call path.
  • Native Function Pointer ABI Integration: Allow function pointers as native extern parameters and return values, including function tables supplied by C libraries. Preserve the existing platform C ABI initially rather than prematurely inventing a calling-convention matrix.
  • Generic Function Pointer & Unmanaged Storage Integration: Compose function pointers with where T : unmanaged, pointers, stackalloc, native heap allocation, structs, arrays/tables, Span views, and native function-table patterns without special-case generic lowering.
  • Native Heap, Function Pointers, GC, Threads & Exception Boundary Integration: Exercise allocated native buffers and function tables through managed threads, GC, native calls, callbacks, cleanup paths, exceptions, and library boundaries. Verify native memory never becomes a GC object and native indirect calls obey the same runtime transition rules as ordinary extern calls.
  • Native Heap & Function Pointer Integration Audit: Full block audit covering allocation/reallocation/free, alignment, generic unmanaged storage, Span/native-buffer composition, indirect calls, ABI tables, threads/GC/exceptions, generated-C strictness, diagnostics, and the complete cumulative make test.
Completed

Unmanaged Generics, Pinning & Native Buffer Interop

  • Unmanaged Generic Constraint Foundation: Add where T : unmanaged with one authoritative recursive unmanaged-type classification. Primitive/native value types, enums, pointers, and structs composed entirely of unmanaged fields qualify; managed references and structs containing them do not. Integrate it with generic types, methods, inference, specialization, diagnostics, and existing constraint handling. I think this belongs first because otherwise later generic native-buffer APIs would need type-name hacks or compiler exceptions.
  • Generic Pointer & Unmanaged Stack Storage Completion: Allow unsafe generic code constrained by unmanaged to use T*, pointer arithmetic where valid, sizeof(T), and stackalloc T[count]. Reuse the existing pointer/stackalloc implementation rather than building a generic-only path. This gives us a clean foundation for native Span<T> construction.
  • Managed Pinning Runtime Foundation: Add the internal GC/runtime pin contract. A pin keeps its managed owner rooted and records that its address must remain stable. VOID's collector is currently non-moving, so this does not need a new collector design, but establishing a real pin contract now prevents us from baking “the GC never moves” into the language ABI forever. It also prepares the runtime for a future moving/compacting collector without changing source semantics.
  • fixed Statement & Scoped Pointer Semantics: Add fixed syntax and lowering through the existing scope/control-flow cleanup machinery. Pin acquisition/release must survive normal exit, return, break, continue, and exceptions. The fixed pointer is scoped and cannot be captured or returned as though its managed backing were permanently pinned. Existing explicitly unsafe raw-pointer behavior remains available; fixed becomes the correct lifetime-aware managed/native bridge.
  • Structural Pinnable Reference Protocol: Make fixed structural rather than teaching the compiler a growing list of special types. A receiver exposing the proper pinnable-reference contract can participate, with receiver evaluation exactly once. This is the same architectural idea that worked well for the earlier Index/Range consumers and ref foreach.
  • Array, Span & Memory Pinning Completion: Wire managed arrays, Span<T>, ReadOnlySpan<T>, Memory<T>, and ReadOnlyMemory<T> into that one pinning model. Writable sources expose writable pointers where legal; readonly views remain readonly. Range/slice-produced views must retain the correct owner and offset. GC, null/empty cases, nested slices, and evaluation-once behavior all get focused coverage.
  • Unmanaged Span<T> / ReadOnlySpan<T> Construction: Add unsafe pointer+length construction for unmanaged storage. Once created, native-backed spans should use the same indexing, Range, slicing, ref foreach, CopyTo, Fill, and Clear machinery as managed/stack spans. No parallel “NativeSpan” type. Crucially, I would not make Memory<T> pointer-backed here: Memory<T> is heap-storable and therefore needs an ownership model for arbitrary native memory. Keeping Memory managed-array-backed remains the cleaner contract.
  • Native Buffer Call Integration: Prove the intended native workflow end-to-end: managed storage → fixed → pointer + length → existing unsafe extern calls, plus unmanaged Span views around externally owned buffers. Cover ref/out/in, callbacks, library output/import, generic unmanaged helpers, slices, and evaluation-once semantics. I would keep native APIs explicit as pointer+length here rather than inventing a magical direct Span ABI.
  • Pinning, GC, Threads, Exceptions & Native Boundary Integration: Stress nested pins, forced GC, ThreadPool/managed threads, native callbacks, exceptions/finally, library boundaries, generic buffers, managed owners, and cleanup. Verify pins cannot accidentally keep objects pinned forever and cannot disappear while native code still legitimately uses the scoped pointer. High-iteration race/stress variants remain opt-in outside make test, consistent with the existing harness policy.
  • Unmanaged Memory & Native Buffer Integration Audit: Final block audit across unmanaged constraints → generic stackalloc → pointers → fixed/pinning → arrays/Memory → Span/Range/ref → native calls/callbacks → GC/threads/exceptions. This gets the mandatory focused audit and full cumulative make test, exactly like the previous integration audit.
Completed

Index, Range & Contiguous Memory Integration

  • Index & From-End Foundation: Real Index value type; prefix ^; ^0, ^1, normalization and diagnostics. Preserve binary XOR.
  • Range Syntax & Value Foundation: Real Range value type; .., a..b, ..b, a.., .., ^ endpoints; normalization APIs.
  • General Index/Range Consumer Semantics: reusable protocol around Length, existing integer indexing, Slice(int,int); side effects once; no type-name special casing.
  • Arrays & Span Index/Range Completion: array[^1], Span/ReadOnlySpan from-end indexing and ranges. Array ranges allocate copies; Span ranges return views; readonly remains readonly.
  • Managed Array-Backed Memory<T> Foundation: heap-storable Memory<T>/ReadOnlyMemory<T> using only T[] + start + length. No native backing yet.
  • Memory Slicing, Conversion & Span Bridge: Array→Memory, Memory→ReadOnlyMemory, slicing, Length, IsEmpty, .Span; no implicit Memory→Span conversion.
  • Memory Suspension & GC Integration: Async, iterators, async iterators, Tasks, ThreadPool, continuations, GC, managed-reference elements; prove lifetime safety without implying thread safety.
  • Span Enumeration & Ref Foreach Completion: normal Span foreach, foreach(ref T...), foreach(ref readonly T...), readonly/escape/capture/async restrictions.
  • Contiguous Memory Operations Completion: CopyTo, TryCopyTo, Fill, Clear; overlap-safe copy; tiny internal overlap/storage primitive permitted if necessary.
  • Index, Range & Contiguous Memory Integration Audit: cross-feature audit and authoritative full make test: Memory→Span→Range→ref, stackalloc→range→ref foreach, await/GC, readonly paths, generics, exceptions, evaluation-once behavior.
Completed

By-Reference Semantics & Span Foundations

  • First-class ref locals: Add ref T local aliases over locals, parameters, fields, and array elements. The compiler tracks lvalue provenance, definite assignment, and the managed owner that must stay rooted when a ref points inside an object or array.
  • Ref assignment & aliasing: Complete target = ref source, chained aliases, mutation through aliases, struct-field refs, readonly checks, and control-flow lifetime while reusing VOID's existing write-target and by-reference argument machinery.
  • Ref returns: Add ref T method returns, return ref, and ref-returning calls as writable targets while rejecting references to dead locals, temporaries, and stack storage that cannot outlive the call.
  • Ref-returning properties & indexers: Extend the same by-reference semantics through properties and indexers with single evaluation, generic specialization, valid interface or virtual dispatch, readonly rules, and managed-owner retention.
  • ref readonly & escape scopes: Add readonly references plus formal escape-scope analysis for stack storage, parameters, managed interior references, and longer-lived storage. Introduce an explicit scoped surface only if the language needs it to express those rules clearly.
  • Ref struct foundation: Add stack-only ref struct values that may contain byrefs without silently escaping into the managed heap. Fields, constructors, methods, properties, and ordinary stack locals follow the same lifetime model.
  • Ref-like lifetime & suspension safety: Integrate ref-like values with generics, closures, delegates, exceptions, iterators, async methods, await, and yield. Unsafe capture or suspension paths are rejected unless the compiler can prove the lifetime is valid.
  • Span<T> & ReadOnlySpan<T>: Build spans as ordinary standard-library ref structs over the by-reference foundation, with length, indexed access, writable versus readonly behavior, and deliberate rules for native and managed element storage.
  • Span integration & ref foreach: Connect spans to arrays, stackalloc, valid unsafe pointer-backed views, slicing, managed-owner lifetime, and ref/ref readonly foreach so safe byrefs and the existing native-memory model meet cleanly.
  • By-reference & span integration audit: Audit refs, escape scopes, ref structs, spans, arrays, stack storage, generics, interfaces, native calls, closures, exceptions, GC, and diagnostics together. The block closes architectural gaps without pulling in unrelated ownership, SIMD, scheduler, or memory abstractions.
Completed

Async Language Completion & Asynchronous Iteration

  • General await expression normalization and spilling so awaited subexpressions preserve VOID evaluation order instead of requiring direct-await special cases
  • Await completed through conditions, loop control, switch input, calls, receivers, operators, conditional expressions, returns, throws, and short-circuit logic
  • Ordinary synchronous foreach bodies can suspend while preserving enumerator state and deterministic disposal across completion, early exit, faults, and cancellation
  • Task-based IAsyncDisposable contract and explicit asynchronous disposal integrated with the existing async cleanup and finally control-flow model
  • IAsyncEnumerable<T> / IAsyncEnumerator<T> contracts and contextual await foreach semantics built on ordinary Tasks
  • await foreach consumer lowering preserves the enumerator across suspension and asynchronously disposes it on every structured exit
  • Async iterator producers combine yield return and await through shared iterator/async state-machine machinery instead of a third independent lowering system
  • Async iterator exceptions, catch/finally, early disposal, explicit cancellation, suspended managed references, forced GC, and cleanup integrated through normal lifetime rules
  • Generic async iterators, generic owners, interfaces/virtual dispatch where valid, closures, delegates, managed payloads, libraries, and native calls around suspension integrated with existing boundaries
  • Block-wide audit across arbitrary await expressions, synchronous and asynchronous iteration, async cleanup, producer/consumer chains, GC, cancellation, ThreadPool shutdown, libraries, and generated state structure
Completed

Async/Await & Task State-Machine Integration

  • Contextual async methods and await expressions with built-in Task / Task<T> awaitable semantics and focused diagnostics
  • Dedicated async compiler lowering parallel to iterator lowering, producing Task-backed generated state machines instead of code-generation special cases
  • Pending-task suspension, continuation registration, state restoration, and direct continuation for already-completed Tasks without unnecessary scheduling
  • async Task<T>, typed await results, managed-result lifetime, and correct fault/cancellation propagation through the existing Task model
  • Multiple sequential awaits and structured control flow with only suspension-surviving locals promoted into generated state
  • Exceptions, catch/rethrow, finally, using, and structured cleanup preserved across suspension with deliberate diagnostics for invalid regions such as await inside lock
  • Async cancellation integrated with existing CancellationToken and OperationCanceledException rules before and after suspension
  • Generic async methods, generic owners, closures, managed references, nullable results, instance receivers, forced GC, and state-machine lifetime integrated with normal monomorphization and roots
  • Async methods integrated through interfaces, virtual/override dispatch, delegates/events where signatures permit, static methods, reusable libraries, and native/library boundaries without changing the Task-returning ABI
  • Block-wide audit across continuation races, faults, cancellation, cleanup, generics, closures, GC retention, ThreadPool shutdown, libraries, and generated-code structure
Completed

ThreadPool & Task Foundation

  • Reusable managed ThreadPool work queue and persistent workers built on ordinary VOID threads and synchronization
  • Worker startup, idle waiting, delegate rooting, allocation, and stop-the-world GC coordination integrated with normal managed thread state
  • Defined queued-work exception behavior, deterministic shutdown, concurrent producer/worker coverage, and scheduler stress validation
  • Task completion state with synchronized pending, running, completed, faulted, and canceled outcomes plus exactly-once completion
  • Task<T> typed results with managed-result rooting, fault storage, generic specialization, and shared Task state machinery
  • Task.Run scheduling for delegates, closures, generic work, nested tasks, and worker-to-worker scheduling
  • Synchronous task waiting and result observation integrated with timeouts and VOID's existing exception propagation model
  • Cooperative Task cancellation integrated with scheduling, execution, completion, faults, timeout, and disposal races
  • Race-safe Task continuations and TaskCompletionSource completion, fault, and cancellation paths with managed lifetime support
  • Block-wide integration audit across GC, generics, closures, native boundaries, nested worker activity, cancellation, faults, continuations, shutdown, and deterministic cleanup
Completed

Timed synchronization, wait primitives & cooperative cancellation

  • VOID-owned monotonic deadline and native sleep/timed-wait runtime foundation across POSIX and Windows
  • Managed Thread.Sleep(int millisecondsTimeout) and a shared timeout contract including Timeout.Infinite
  • Timed Monitor.Wait(object, int millisecondsTimeout) with timeout result and exact recursive monitor-depth restoration
  • ManualResetEvent and AutoResetEvent with indefinite/timed waits and race-safe signal behavior
  • Bounded Semaphore waits/releases on the existing managed synchronization foundation
  • CancellationToken and CancellationTokenSource with thread-safe, idempotent cooperative cancellation
  • Race-safe cancellation callback registration/disposal with managed delegate rooting and blocked-operation wakeup
  • Timed and cancellable event/semaphore waits with success, timeout, and OperationCanceledException outcomes
  • Monitor.Wait intentionally remains cancellation-free while event/semaphore waits integrate cancellation
  • Integration and stress coverage across GC safepoints, exceptions, try/finally, using, closures/delegates/generics, native boundaries, and signal-vs-cancel/timeout races
Completed

Language & runtime foundation

  • Classes, structs, inheritance, and interfaces
  • Generics and generic collections
  • foreach, enumerators, and yield
  • Delegates, lambdas, closures, and events
  • Garbage collection across managed language features
  • Attributes and focused runtime discovery
Completed

Native & unsafe foundation

  • Pointers and pointer arithmetic
  • ABI-safe native structures
  • Native ref/out/in, bindings, aliases, libraries, and callbacks
  • sizeof, memory copy/clear, and stackalloc
  • Controlled end-to-end C integration
Completed

Core language ergonomics

  • Enums and switch
  • const/readonly, casts, is/as
  • Null operators, optional/default parameters, and params
  • default(T), typeof, type metadata, and conversions
Completed

Language completion & initialization

  • Nullable value types and lifted nullable operators
  • Null-conditional indexing and named arguments
  • Target-typed default
  • Instance field and auto-property initializers
  • Object, array, and collection initializers
  • Static fields/properties and deterministic static initialization
  • Generic static initialization and managed static GC roots
  • Cross-feature integration/stabilization
Completed

Tooling & developer experience

  • Source spans, ranged diagnostics, and voidc check
  • Semantic query sessions and native debug/source mapping
  • Compiler-side LSP lifecycle and live diagnostics
  • Hover, signature help, and semantic completion
  • Go-to-definition, references, document/workspace symbols
  • Multi-file unsaved-state integration and broken-source recovery
Completed

Object model & language completion II

  • Base-constructor chaining and same-type constructor delegation
  • Interface inheritance and struct interface implementation
  • Virtual, abstract, and override property dispatch
  • Static events, interface events, and event initializers
  • Struct delegate targets, by-reference delegate parameters, and structural delegate equality
  • Target-typed conditional expressions across class, struct/interface, delegate, nullable, conversion, and generic cases
  • Multi-file object-model integration and stabilization
Completed

Value types, closures & control flow

  • Nested value structs with recursive managed-reference tracing
  • Readonly structs, readonly instance methods/accessors, and in calls
  • Jagged arrays and real rectangular multidimensional arrays
  • Nested/per-iteration closures plus ref/out/in capture and struct this
  • Iterator state across foreach, switch, nested control flow, and base-member access
  • Pointer properties/constructors within existing unsafe boundaries
  • Compound indexer and vector-swizzle assignment with single evaluation
  • Cross-feature check/build/run/publish integration with forced GC
Completed

Language edge & project completion

  • Static interface property contracts with class/struct implementations and inherited/diamond validation
  • Static interface event contracts without interface-owned storage
  • Plain constructor return; with chaining/initializer and definite-assignment correctness
  • Typed rectangular array initializers with inferred shape, conversions, row-major storage, and GC safety
  • Normal iterator local inference, definite assignment, shadowing, and managed state across yield
  • General instance-method receivers across temporaries, properties, indexers, arrays, conditionals, virtual/interface dispatch, and GC
  • Explicit generic calls through static, instance, inherited, virtual, interface, specialized, and temporary receivers
  • Native callback ref/out/in parameters through the existing C ABI
  • Real "output": "library" static archives, [Export] symbols, reachability, static initialization, and VOID/C consumers
  • Cross-feature library/consumer integration through check/build/run/publish and native linking
Completed

Language surface completion II

  • Unsafe delegates with pointer returns/parameters, nested pointers, void*, and ref/out/in pointer forms
  • Pointer-bearing properties across unsafe classes/interfaces/value types with static, virtual, override, and interface dispatch
  • Full do/while control flow across normal code, generics, lambdas, iterators, break/continue, and GC roots
  • Expression-bodied methods, constructors, operators/conversions, void members, and property setters
  • Custom event add/remove accessors across instance/static/interface/virtual forms
  • Null-conditional indexing across one-dimensional, jagged, and rectangular arrays with single-evaluation and short-circuit semantics
  • Explicit-size rectangular initializers with compile-time dimension/shape validation
  • Implicit new[,]-style rectangular initializer inference
  • Generic where constraints across class/struct/base/interface/multiple-interface/new() forms
  • Cross-feature surface integration and stabilization through the normal toolchain
Completed

Exceptions & Runtime Control Flow

  • Managed Exception hierarchy, messages, derived exceptions, and throw expression;
  • Typed and catch-all handlers, catch variables, and derived-to-base handler ordering
  • Cross-call propagation with GC/root restoration during unwinding
  • finally on normal and exceptional completion
  • return, break, and continue through one or more finally regions
  • Nested handlers, bare throw; rethrow, and exceptions raised from catch/finally
  • Iterator exception/finally integration across suspension and resume
  • Delegate, multicast-event, and managed-target exception propagation
  • Native/library boundary rules and ABI diagnostics
  • Integration hardening including static-initializer failure recovery, GC-root checkpoint restoration, and retry-safe initialization
Completed

Deterministic lifetime & advanced abstractions

  • IDisposable foundation and deterministic compiler-generated iterator disposal
  • Non-array foreach disposal on normal completion, early exit, and exceptions
  • using (...) statements and scope-bound using declarations
  • Reverse-order disposal across structured exits and existing finally regions
  • Generic method type inference through the existing overload resolver/monomorphizer
  • Extension methods with ordinary instance-member precedence
  • Static interface method contracts without interface-owned runtime storage
  • Constrained static interface calls specialized to concrete static methods
  • Default interface method bodies with concrete precedence and ambiguity diagnostics
  • Cross-feature lifetime/abstraction integration with exceptions, iterators, GC, and native boundaries
Completed

Pattern matching & control-flow expressions

  • Declaration/type patterns with flow-aware pattern locals and definite assignment
  • Constant and null patterns through the shared pattern matcher
  • Relational patterns using existing numeric/comparison semantics
  • Logical and, or, and not composition with binding/flow rules
  • Property patterns across classes, structs, interfaces, inheritance, and nullable/reference values
  • Recursive nested patterns with short-circuiting, GC-safe temporaries, and single evaluation
  • Pattern-aware switch statements while preserving existing constant/integral/enum behavior
  • when guards, deterministic first-match ordering, and focused invalid/unreachable diagnostics
  • Switch expressions with target/result type unification, managed/value results, and nullable handling
  • Cross-feature integration with generics, interfaces/default methods, exceptions, iterators, GC, and value/nullability semantics
Completed

Iterator lifetime completion & generic operator foundations

  • Declaration-pattern locals promoted through the existing iterator capture model when they survive yield
  • Switch-case, switch-expression-arm, recursive-pattern, and when-guard locals preserved across suspension with exact scoping
  • Captured managed pattern values proven GC-safe through suspension, resume, disposal, exceptions, finally, and teardown
  • Cumulative iterator state-machine audit across ordinary/pattern locals, foreach, using/disposal, exceptions, generics, and switch forms
  • Stable user-facing diagnostics without historical internal milestone labels
  • User-defined unary operator completion through normal overload/type resolution
  • User-defined binary arithmetic/comparison/equality and compound paths through shared conversion/overload machinery
  • Static interface operator contracts with implementation, inheritance, conflict, accessibility, and generic validation
  • Constrained generic operator dispatch specialized to ordinary concrete operator calls
  • Iterator lowering preserves generic-origin/constraint provenance so constrained operators remain valid after yield
Completed

Native threading, GC coordination & synchronization

  • Portable VOID-owned POSIX/Windows native thread backend with generated-code OS API isolation
  • Per-thread runtime contexts for automatic GC roots, exception state, native-boundary bookkeeping, and static-initializer recursion state
  • Thread-safe managed heap metadata and a registered-runtime-thread model
  • Cooperative stop-the-world collection with safepoints, cross-thread root scanning, and GC-safe native/blocking states
  • Managed Void.Threading.Thread with new Thread(Action), Start(), and Join()
  • Recursive managed-object monitors through Monitor.Enter / Monitor.Exit
  • Structured lock lowering with single evaluation and release through return/break/continue/exception cleanup
  • Unhandled worker exceptions retained safely and rethrown through Thread.Join() after worker retirement
  • Threaded closures, delegates, generics, native callbacks, static initialization, and forced-GC lifetime integration
  • Cross-platform concurrency audit covering cleanup holes, unsafe global runtime state, GC deadlocks, and OS-thread abstraction leaks
Completed

Conversion semantics & generic conversion integration

  • One standard-conversion classifier for identity, numeric, nullable, enum, reference/interface, null, and existing pointer/unsafe conversions
  • Completed user-defined implicit/explicit conversion applicability, accessibility, ambiguity, and surrounding standard conversions
  • Lifted nullable user-defined conversions with null propagation and legal explicit extraction
  • Assignments, returns, arguments, constructors, arrays, initializers, params, conditionals, and switch expressions routed through the shared conversion engine
  • Static-interface implicit/explicit conversion contracts with inheritance, implementation validation, conflicts, and specialization
  • Constrained generic implicit and explicit conversion dispatch proven by interface constraints before monomorphization
  • Generic conversion provenance preserved through inference, overload resolution, target typing, specialized storage, and transformed expressions
  • Iterator and closure promotion preserve conversion-contract provenance across yield, GC, exceptions, finally, and disposal
  • Code generation consumes semantic conversion bindings instead of rediscovering legality
  • Cross-feature integration across operators, nullable values, generic abstractions, GC, exceptions, deterministic cleanup, and library compilation
Completed

Advanced synchronization & atomic memory semantics

  • VOID-owned monitor condition wait/signal/broadcast runtime with GC-safe blocking and recursive ownership preservation
  • Managed Monitor.Wait(object) with ownership checks, full recursive release, and exact recursion-depth reacquisition
  • Monitor.Pulse / PulseAll condition notification with correct ownership and waiter-vs-entry-waiter behavior
  • Portable runtime-owned atomic operations with explicit memory-order semantics and no compiler/OS intrinsics leaking into generated user code
  • Void.Threading.Interlocked integer increment/decrement/add/exchange/compare-exchange operations as real atomics
  • Managed-reference exchange/compare-exchange integrated with rooting, stop-the-world collection, generics, and lifetime safety
  • Void.Threading.Volatile.Read / Write acquire/release access for supported primitive and managed-reference values
  • Synchronization integrated with worker exceptions, try/finally, using, nested lock, native callbacks, GC, and thread shutdown
  • Generic methods/types, closures, bound/multicast delegates, nested workers, forced GC, wait/pulse, atomics, and volatile access stressed together
  • Block-wide synchronization/atomic audit across monitor recursion, condition queues, memory ordering, safepoints, cleanup, native boundaries, static initialization, and POSIX/Windows runtime branches

Block-wide invariant

Numeric utilities should keep VOID semantics above narrow native boundaries.

Math, MathF, and deterministic seeded Random should behave as ordinary library/runtime surfaces with defined boundary rules rather than compiler-specific shortcuts.

Automatic random seeding should cross only a small portable entropy boundary, while Stopwatch should reuse the existing monotonic clock instead of introducing a second timing system.