Pointers
Current Pointer types, address-of, dereference, arithmetic, comparisons, parameters/returns, void*, pointer properties on unsafe classes/interfaces/value types, virtual/interface pointer-property dispatch, pointer constructors, and pointer ref/out/in constructor parameters inside the existing unsafe boundaries.
Native structs
Current Unmanaged C-compatible structures cross the ABI with native field layout.
Unmanaged generic storage
Current where T : unmanaged is backed by one recursive type classification. Proven unmanaged generic values can use T*, valid pointer arithmetic, sizeof(T), and stackalloc T[count] through the same unsafe machinery as concrete unmanaged types.
Scoped managed pinning
Current fixed keeps a managed owner rooted and its address stable for a scoped native operation, with acquisition/release preserved across normal exit, return, break, continue, and exceptions. Structural pinnable receivers are evaluated once rather than being recognized by hard-coded type names.
Arrays, Span & Memory pinning
Current Managed arrays, Span, ReadOnlySpan, Memory, and ReadOnlyMemory share the same pinning model. Writable and readonly paths stay distinct, and sliced views retain the correct owner and offset.
Native-backed Span views
Current Unsafe pointer+length construction creates non-owning Span<T>/ReadOnlySpan<T> views over unmanaged storage. Those views reuse normal indexing, Range slicing, ref foreach, copy, fill, and clear behavior; there is no parallel NativeSpan type.
Native by-reference parameters
Current Native ref, out, and in lower to the pointer forms required by C APIs.
Bindings & aliases
Current Type-qualified native bindings and [Native("symbol")] aliases keep VOID-facing names readable.
Managed string ABI contracts
Current Native declarations keep string as the VOID semantic type while ABI metadata defines borrowed NUL-terminated UTF-8, pointer+length parameters, borrowed/static returns, owned returns with explicit release, retained lifetimes, callbacks, and exports. Native results become managed strings before ordinary VOID code sees them, and writable native buffers stay separate from immutable string storage.
Libraries & managed callbacks
Current Projects declare native libraries/search paths; unsafe delegates can carry pointer returns/parameters and ref/out/in pointer forms; compatible static methods cross the ABI as managed callback entry points; and callback parameters reuse the same ABI-safe by-reference lowering. Managed delegates remain the managed callback abstraction.
Raw native function pointers
Current Native function-pointer values are unmanaged, nullable, comparable, storable in unmanaged structures, and restricted to ABI-compatible signatures. VOID can take compatible native function addresses, invoke them indirectly through the existing GC-safe native-call transition, pass them through extern parameters/returns, and consume C function tables without treating captured managed closures as permanent native pointers.
Unsafe conversion boundary
Current Existing pointer/unsafe conversions participate in the shared conversion classifier without silently widening safe language conversions or the C ABI boundary.
Native heap allocation & alignment
Current A platform-neutral runtime backend powers explicit NativeMemory allocation/free, typed unmanaged allocation, reallocation, and aligned allocation with checked sizes, alignment validation, deterministic failure rules, and strict separation from the managed GC.
Memory primitives & native buffer calls
Current sizeof, memory copy/clear, generic unmanaged stackalloc, scoped fixed, explicit native heap ownership, and pointer+length extern calls cover the native-buffer workflow. A Span over native memory is still only a view and never becomes the allocation owner.
Project-local native dependencies
Current Relative library paths keep native dependencies beside the project, while VOID library projects can emit their own lib<ProjectName>.a archives and stable [Export] C symbols for VOID or plain-C consumers.
Native debug source mapping
Current Debug builds preserve VOID filenames and statement line numbers through generated C #line directives and standard GCC/Clang debug information.
Exception boundaries
Current VOID exception propagation is integrated with native and reusable-library boundaries without permitting uncontrolled raw unwinding through C ABI frames; invalid boundary cases receive focused diagnostics.
Native thread & timed-wait runtime boundary
Current VOIDC owns the portable native-thread, monotonic timing, sleep, and timed-wait backend for POSIX and Windows, while generated user C sees only VOIDC runtime calls. Managed workers, reset events, semaphores, cancellation wakeups, native-quiescent transitions, callbacks, stop-the-world GC coordination, and thread exception handoff preserve the managed runtime model across native boundaries.
Portable atomic runtime boundary
Current Integer/pointer-sized atomic operations and explicit memory-order semantics are owned by the VOID runtime rather than emitted as raw compiler/OS intrinsics. Interlocked and Volatile therefore keep generated VOID code portable while managed-reference atomics remain integrated with GC lifetime rules.