upvote
Are there any of those left? The popular VMs for Java, Javascript and dotnet are all very mature heavily tuned designs.
reply
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

reply
3) electron, about:blank, 1.2GiB
reply
electron, about:blank, 90mb

Just tested

reply
That's better than the GTK4 hello world I tried out last year.
reply
Seconded, the only 1.2 GB electron app I’ve made had a ~500MB ML model’s weights embedded in it
reply
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.

reply