Anonymous
9/10/2025, 4:39:29 PM
No.106547089
>>106547052
Rust is a high level language. The pointer variables do not reflect anything in hardware, they are purely abstract. Compiler is free to express them in any way it wants, as registers, memory locations, indexes or just optimize them away completely.
Also "hardware pointers" is not really a rigid term and might mean a lot of different things. Assembly is not even a typed language so it doesn't have a concept of pointers by itself. They are just another layers of abstraction programmers use to reason about their code.
Rust is a high level language. The pointer variables do not reflect anything in hardware, they are purely abstract. Compiler is free to express them in any way it wants, as registers, memory locations, indexes or just optimize them away completely.
Also "hardware pointers" is not really a rigid term and might mean a lot of different things. Assembly is not even a typed language so it doesn't have a concept of pointers by itself. They are just another layers of abstraction programmers use to reason about their code.