3 ms·
Completely different dynamic (because no Rust GC), but this reminds me of how Twitch made their server, written in Go, a lot faster by allocating a bunch of dum
by SilasX 6y ago
Completely different dynamic (because no Rust GC), but this reminds me of how Twitch made their server, written in Go, a lot faster by allocating a bunch of dummy memory at the beginning so the garbage collector doesn't trigger nearly as often:
https://news.ycombinator.com/item?id=21670110 https://news.ycombinator.com/item?id=21670110
- the8472 6y agoThe java equivalent to the Go case would simply be adjusting the -Xms flag. The Go approach is a needlessly convoluted because the runtime doesn't offer any tuning knobs. As for the rust case, if you squint then it's similar to a concurrent collector.