logoalt Hacker News

melodyogonnatoday at 9:15 AM3 repliesview on HN

> If you have a system that requires predictable latency, go is not the right language for it.

Having a garbage collector already make this the case, it is a known trade off.


Replies

gf000today at 9:27 AM

This may have been practically true for a long time, but as Java's ZGC garbage collector proves, this is not a hard truth.

You can have world pauses that are independent of heap size, and thus predictable latency (of course, trading off some throughput, but that is almost fundamental)

pjmlptoday at 1:56 PM

Not really, it is a matter of having the right implementation.

- https://www.ptc.com/en/products/developer-tools/perc

- https://www.aicas.com/products-services/jamaicavm

- https://www.azul.com/products/prime

Not all GCs are born alike.

kevin_thibedeautoday at 2:43 PM

Nim's GC is deterministic when you need it.