would it be possible to have the dynamic linker handle struct field offsets as relocations so you could keep things abi-stable without using opaque pointers and function calls?
-
would it be possible to have the dynamic linker handle struct field offsets as relocations so you could keep things abi-stable without using opaque pointers and function calls?
-
@easrng oh hey it's basically the Objective-C non fragile ABI
-
I guess you could also just export them as variables and do pointer arithmetic
-
but having the linker patch the code should be faster, right?
-
@easrng generally we try not to have relocations in code these days
Copyright © 2025 NodeBB | Contributors