Remix.run Logo
amelius 9 hours ago

Bad times for the two-space copying garbage collectors.

pjc50 9 hours ago | parent [-]

Are there any of those left? The popular VMs for Java, Javascript and dotnet are all very mature heavily tuned designs.

GoblinSlayer 4 hours ago | parent | next [-]

My benchmark:

1) .net app, one text field, one button; private bytes 22mb, working set 27mb

2) native app, two text fields, three buttons; private bytes 1.2mb, working set 7.3mb

tosti 3 hours ago | parent [-]

3) electron, about:blank, 1.2GiB

nixon_why69 7 hours ago | parent | prev [-]

They're heavily tuned but I think having the generational hypothesis and copying longer-lived objects is still standard? As is allowing a fair amount of garbage to accumulate to increase throughput and reduce copying at the cost of memory footprint?

Posting instead of researching in hopes someone smarter can chime in, because I'm lazy.