GC vs Rust Debate

The cluster centers on debates comparing garbage collection (GC) in languages like Go with non-GC alternatives like Rust, emphasizing Rust's memory safety without GC pauses and trade-offs in performance and complexity.

📉 Falling 0.5x Programming Languages
6,460
Comments
20
Years Active
5
Top Authors
#9328
Topic ID

Activity Over Time

2007
5
2008
16
2009
38
2010
48
2011
83
2012
127
2013
250
2014
345
2015
346
2016
482
2017
490
2018
321
2019
518
2020
522
2021
591
2022
641
2023
580
2024
465
2025
540
2026
54

Keywords

OO e.g RCU GC HN RAII NET lang.org gc.html FP gc rust memory management memory garbage languages language garbage collection management garbage collector

Sample Comments

rk06 May 1, 2020 View on HN

Unlikely, as those problems are coming because of Garbage Collection which is a core part of language. C++/Rust don't have GC, so they don't have those problems

z92 Feb 22, 2015 View on HN

What's wrong with comparing a GC language with non-GC language?

nine_k Jun 19, 2016 View on HN

Why Go, it has GC, too. I'd look at Rust.

mojuba Jul 2, 2022 View on HN

GC is not the only way though, see Rust and Swift, both very safe languages.

James_K Nov 17, 2024 View on HN

You seem to have forgotten that garbage collected languages exist, and are much preferable to Rust in many circumstances.

bulldoa Nov 13, 2017 View on HN

that is interesting, I wonder if its easier to just write idiomatic code in language that does not have gc like rust or c++

pjmlp Jul 16, 2022 View on HN

Only when disregarding that many languages with GC capabilities, also offer value types and features for manual memory management.

wrnr Feb 1, 2022 View on HN

GC is the job of the language, Rust doesn't need it

sportanova Nov 4, 2015 View on HN

A little late, but why not Rust? Not the right libraries? I would think no gc would be one of the biggest factors

duped Dec 23, 2021 View on HN

What would garbage collection buy you in a language like Rust?