Namespace DotBoxD.Kernels.Sandbox
Namespaces
Section titled “Namespaces”DotBoxD.Kernels.Sandbox.Values
Classes
Section titled “Classes”A 128-bit System.Guid carried as a first-class sandbox scalar. The kernel never operates on
it (no arithmetic, comparison, or string semantics) — it only reads, stores, projects, and returns it — so
it crosses the wire as a compact 16-byte value rather than its 36-char text form.
Checked 32-bit integer arithmetic with sandbox error semantics. Overflow is detected with branchless
bit tests (no closures, no try/catch) so each operation is allocation-free and inlineable on the
compiler’s unboxed fast path and the interpreter alike. Every overflow / divide-by-zero raises the same
DotBoxD.Kernels.Sandbox.SandboxErrorCode.InvalidInput error as before.
Checked 64-bit integer arithmetic with sandbox error semantics. Overflow is detected with branchless
bit tests for add/subtract and a minimized checked multiply path, so each operation is allocation-free and
inlineable on the compiler’s unboxed fast path and the interpreter alike — mirroring
DotBoxD.Kernels.Sandbox.SandboxInt32Math. Every overflow / divide-by-zero raises the same
DotBoxD.Kernels.Sandbox.SandboxErrorCode.InvalidInput error.