logoalt Hacker News

pebal • today at 8:19 AM • 1 reply • view on HN

It depends on the workload. ARC can be more expensive than tracing GC, especially with heavily shared objects.

But my main point was that the presence of a GC has nothing to do with how close a language is to the metal. Memory management strategy and low-level capabilities are two separate things.


Replies

sreekanth850 • today at 9:33 AM

I gave two separate reasons. Rust provides explicit control over memory allocation and management, and it has no garbage collector.

➕ show 1 reply