Re:Crafting Interpreters with Rust: On Garbage Collection
by ltungv on Wednesday July 31, 2024 @12:27PM
(#41120642)
I'm aware of all the issues mentioned. But for this particular project, I simply don't care as long as it passes Lox's test suite xD. I went this path just to see how easy it is to get tripped by unsafe while knowing that there's a technique to get safety with Pin<T> that this can get refactored into. I actually implemented this with Cell and RefCell but didn't find that interesting.
[ Parent
| on HN ]
There are no comments on this comment yet.