3 ms·
Looks close to Scheme to me. Very cool. Anyone know how much of the Rust memory safety you're going to lose using this? It looks relatively strict a la the immu
by gleenn 5y ago
Looks close to Scheme to me. Very cool. Anyone know how much of the Rust memory safety you're going to lose using this? It looks relatively strict a la the immutable local variables but are they just going to garbage collect those somehow? Or is this done in a way that the borrow checker remains happy when interopting with normal Rust code?
- Jweb_Guru 5y agoThe data look fully immutable, which means no cycles, so I'd bet on some form of reference counting being used for garbage collection (though I haven't looked closely). As for memory safety, there are just five well-encapsulated uses of unsafe in the whole repository; you can inspect them and decide for yourself :)