logoalt Hacker News

sreekanth850 • today at 2:28 AM • 2 replies • view on HN

Rust is more close to metal. No GC


Replies

aka-rider • today at 8:15 AM

GC doesn’t affect performance (at least visibly), memory allocations on critical paths do. Moreover, Rust ARC may cause memory fragmentation and perform worse than a GC.

Writing Rust, Zig, or Go, you would still control memory manually, where it matters.

➕ show 2 replies
pebal • today at 5:06 AM

There is no connection. Rust has ARC which performs worse than the tracing GC.

➕ show 2 replies