SplitScript reference / Migration / Contiguous memory aggregates
Contiguous memory aggregates
Migration from ASL, C#
Source pattern
- C#:
record
Canonical SplitScript
recordbecomesstruct.
Use the canonical language and API symbols linked below.
Semantic difference
Read physically contiguous values as one naturally aligned struct or fixed-length [T; N] array when that type exactly matches the target-memory layout.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
struct (language)
-
[T; N] (language)
-
state (language)
-
Process.read (standard library)