4 ms·
Are there any of those left? The popular VMs for Java, Javascript and dotnet are all very mature heavily tuned designs.
by pjc50 3mo ago
Are there any of those left? The popular VMs for Java, Javascript and dotnet are all very mature heavily tuned designs.
- nixon_why69 3mo agoThey'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.
- GoblinSlayer 3mo agoMy 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 3mo ago3) electron, about:blank, 1.2GiB
- adzm 3mo agoelectron, about:blank, 90mb Just tested
- odo1242 3mo agoSeconded, the only 1.2 GB electron app I’ve made had a ~500MB ML model’s weights embedded in it
- hombre_fatal 3mo agoThat's better than the GTK4 hello world I tried out last year.
- kvemkon 3mo agoGTK4 is 98 MB RSS on Linux. Or just 24 MB for GTK3. example-0.c (fits both GTK3 and GTK4) from https://docs.gtk.org/gtk4/getting_started.html https://docs.gtk.org/gtk4/getting_started.html
- hombre_fatal 3mo agoExactly. Though I was seeing 130 MB PSS when I did the same experiment last year. Not sure if it had something to do with my env (NixOS), but either way it was a turn off since I see 20-30 MB with GTK3 which is about the size of my full-featured macOS AppKit apps.