On Thursday, 13 January 2022 at 15:44:33 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 13 January 2022 at 10:21:12 UTC, Stanislav Blinov
wrote:
TLDR: it's pointless to lament on irrelevant trivia. Time it!
Any counter-arguments from either side are pointless without
that.
"Time it" isn't really useful for someone starting on a
project, as it is too late when you have something worth
measuring. The reason for this is that it gets worse and worse
as your application grows. Then you end up either giving up on
the project or going through a very expensive and bug prone
rewrite. There is no trivial upgrade path for code relying on
the D GC.
And quite frankly, 4 ms is not a realistic worse case scenario
for the D GC. You have to wait for all threads to stop on the
worst possible OS/old-budget-hardware/program state
configuration.
It is better to start with a solution that is known to scale
well if you are writing highly interactive applications. For D
that could be ARC.
Just leaving this here from a little well known company.
https://developer.arm.com/solutions/internet-of-things/languages-and-libraries/go
ARC, tracing GC, whatever, but make your mind otherwise other
languages that know what they want to be get the spotlight in
such vendors.