Hacker News new | ask | show | jobs
by chalsprhebaodu 973 days ago
Sometimes the compiler types clone for you even you don’t actually want it to.
1 comments

It 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.