No. Like Java, C#, Dart, Swift, Objective-C. I wouldn't classify JavaScript as a pajeet language. JS is just shit.
Why do compilers not warn about this?
Landon Hughes
Ian Long
...
Isaac Smith
Compile with rustc. Safe code can't access freed memory. fn main() { let v = vec!(0, 1, 2, 3); match () { () if free(v) => { unreachable!(); } _ => { println!("{:?}", v); } }}fn free(_: T) -> bool { false} This outputs [0, 0, 0, 0] Ooooooopsie
Parker Williams
Forgot playground link: play.rust-lang.org
Jaxon Brown