News for hackers. Stuff that matters.
Re:Flattening ASTs (and Other Compiler Data Structures) by bregma on Sunday July 02, 2023 @07:10AM (#36560332)
Pointers are just indexes into memory space. Seems to me that if Rust is trying to solve a general programming problem the borrow checker needs to handle all indexes, not just those specialized for memory space.
Re:Flattening ASTs (and Other Compiler Data Structures) by dist1ll on Sunday July 02, 2023 @07:43AM (#36560503)
I feel that for this to be really viable, Rust would have to allow references that consume less memory (like 8-bit or 16-bit pointers).