News for hackers. Stuff that matters.
Re:Deep-copying in JavaScript by pjmlp on Thursday January 25, 2018 @03:46PM (#16234495)
I would add other unknown languages like Ada, D, VB.NET, Delphi, FreePascal, Rust.
Re:Deep-copying in JavaScript by tomjakubowski on Thursday January 25, 2018 @05:59PM (#16235543)
Rust's references are ordinary values. Moreover, the GP's example wouldn't work in Rust; you'd need to pass a value of type &mut i32 to ParseInt to mutate the value.