News for hackers. Stuff that matters.
Re:Rust: Dropping heavy things in another thread can make yo... by loufe on Saturday May 30, 2020 @01:37PM (#23362964)
I've not worked with any language thus far without automatic garbage collecting, so this was definitely a neat read for me. It sounds rather elegant.
Re:Rust: Dropping heavy things in another thread can make yo... by burpsnard on Saturday May 30, 2020 @07:37PM (#23365822)
It's worth popping the hood and getting your fingers dirty. C was written in an era where memory was a scarce and precious resource to be grudgingly used if absolutely necessary
Re:Rust: Dropping heavy things in another thread can make yo... by tsimionescu on Sunday May 31, 2020 @07:33AM (#23368869)
Please note that C is quite a few years older than the first GC languages. LISP1.5, ALGOL-68 and APL all had garbage collectors before C even existed.

Not to say that it's not worth it to learn manual memory management as well, but it is important not to think that GCs are a fancy modern tool, and that greybeards would never touch one. There were greybeards using punch cards and programming in a GC language, with output printed out on paper.