Re: Go vs GC

2021-06-29 Thread Hal Murray via devel
Does the GC stop all threads, or just set a flag so nobody can allocate anything? -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: Go vs GC

2021-06-29 Thread Hal Murray via devel
e...@thyrsus.com said: > The main source of memory churn is going to be allocations for incoming > packets, and deallocations when they're no longer referenced anf get GCed. > Allocations are fast. GC is slow, but isn't performed very often. Does the low level API for receiving network packets

Re: Go vs GC

2021-06-29 Thread Eric S. Raymond via devel
Hal Murray : > > Well, first, the historical target for accuracy of WAN time service is more > > than an order of magnitude higher than 1ms. > > Time marches on. We need to do better today, much better. > > NTP is used on LANs. Then we'll need to go to watching for GC pauses and skipping sample