2 ms·
Sometimes the compiler types clone for you even you don’t actually want it to.
by chalsprhebaodu 3y ago
Sometimes the compiler types clone for you even you don’t actually want it to.
- pjmlp 3y agoIt is easier to tell it, "don't do it this time" than all the time. It is no accident that while Val/Hylo, Chapel and Swift have taken inspiration from Rust, they have decided to not inflict the affine types directly into the language users, rather let the compiler do part of the work itself.