Skip to content

Concepts

These pages cover the mental models that matter most when using Darp.Luau.

The library is not just a thin set of P/Invoke calls. It makes opinionated choices about ownership, borrowed values, typed conversion, and error reporting. Those choices make the API safer, but they also shape how you should design your embedding surface.

Start with these three pages:

Then use the feature pages for the concrete APIs built on top of those rules, especially Strings, Buffers, callbacks, tables, userdata, and Modules and require.