Tag
marshalling
- Feb 14, 2026 String Encoding and Buffer Ownership at the FFI Boundary Why passing a string across a language boundary requires agreeing on encoding, termination, and allocation, and how the two-call pattern avoids guessing at buffer sizes. language runtimes
- Dec 24, 2023 Marshalling Across the Language Boundary Every call between shared code and platform code crosses a runtime boundary with a serialisation step, a scheduler hop, and a lifetime problem. The cost is dominated by crossings, not by bytes. mobile computing