Move.

Post

Share your knowledge.

Theoremus.
Feb 14, 2025
Discussion

Can I access an object via its address in Move?

I'm working with the Move programming language and I'm curious if there's any way to access an object directly using its address. I know in some languages you can manipulate pointers or references, but I'm not sure how or if that's possible in Move. Any ideas?

  • Move CLI
0
1
Share
Comments
.

Answers

1
McMMoKing.
Feb 14 2025, 05:06

In the Move programming language, you can access objects via their address when they are passed into functions. This is one way to manipulate objects indirectly through function calls. Move doesn't support direct access to memory addresses like some lower-level languages, prioritizing safety and security over manual memory management.

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info