Closed noiryuh closed 2 years ago
Using u64 for pointer is unsafe because it makes it easy for user to modify the address. Yes, it can happend with opaque too, but it requires casting, which they should know what they're doing before casting. It's same for current C bindings.
u64
opaque
Using
u64
for pointer is unsafe because it makes it easy for user to modify the address. Yes, it can happend withopaque
too, but it requires casting, which they should know what they're doing before casting. It's same for current C bindings.