SplitScript reference / Migration / Contiguous memory aggregates
Contiguous memory aggregates
Migration from ASL
Source pattern
Look for the ASL concept Contiguous memory aggregates in the source. The semantic difference below is more important than a token-for-token rewrite.
Canonical SplitScript
Use the canonical language and API symbols linked below.
Semantic difference
Read physically contiguous values as one naturally aligned record 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
-
record (language)
-
[T; N] (language)
-
state (language)
-
Process.read (standard library)