On Wednesday, 16 March 2022 at 11:27:20 UTC, user1234 wrote:
assuming the c library takes by reference

My experience all arrays are effectively just pointers, and the brackets/length is only really applicable to stack allocated fixed length allocations. In my own C projects i always used pointers to pass arrays around.

There's also static construction, though i don't see how that improves anything

https://dlang.org/spec/module.html#staticorder

Reply via email to