Post
Share your knowledge.
What's the `native` keyword used for in programming?
I'm trying to understand what the native
keyword is used for. I know it's related to core data structures and cryptographic functions, but I need more details on its purpose and functioning. Any insights?
- Move CLI
Answers
1The native
keyword is used in programming to indicate that certain functions or data structures are implemented at the system level or in machine language. This allows these components to run directly on the Move Virtual Machine (VM). By using this keyword, these core elements can operate more efficiently, as they bypass some of the overhead associated with higher-level language constructs. Such native implementations are often seen in critical areas like core data structures and cryptographic functions, where performance and secure operations are crucial.
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.

- MiniBob... SUI+31
1
- 0xduckmove... SUI+27
2
- HaGiang... SUI+26
3
- ... SUIharry phan+21
- ... SUIMarlKey+20
- ... SUI
- ... SUIVens.sui+15
- ... SUICarlkawIy+12
- ... SUI
- ... SUIkryptoschain+10