2 ms·
That also depends on GC, and the language, and the implementations of the GC. E.g. in Erlang GC is mostly negligible [1] (but you can put undue pressure on it,
by troupo 3y ago
That also depends on GC, and the language, and the implementations of the GC.
E.g. in Erlang GC is mostly negligible [1] (but you can put undue pressure on it, and on the underlying OS), there are realtime GCs for Java, etc.
But yeah the cost of GC is never zero.
[1] citation needed
- topspin 3y ago> That also depends on GC, and the language, and the implementations of the GC. Nothing depends on no GC. I'm not anti-GC. I earn most of my living using GC languages. But there comes a time when the cost of power and hardware outweigh the value of GC. When that time comes Rust is an excellent way to solve it. I am, however, very "anti" the "no such time exists" position. That has never been and will never be true.