Question I don't know the answer to: is it possible for a single binary to not load the whole code into memory before executing? I know from video games that incremental loading is a really nice way of minimizing load screens. Usually using interpreted languages.
-
Show this thread
-
Like: is it possible to only load parts of the program? Is the answer just to have multiple small programs? Feel this conceptually ties into WASM too, albeit with more obstacles (async networking, handling load errors, prefetching, limited runtime).
1 reply 0 retweets 0 likesShow this thread -
I guess this might be a general question of: "How do you make big applications memory efficient?" Or is app logic hardly the offender, and is it more about making sure we load / unload assets gradually?
2 replies 0 retweets 0 likesShow this thread -
Replying to @yoshuawuyts
Hm, no idea. I'd kinda assume the actual binary is mmap'd by the OS
1 reply 0 retweets 1 like
Replying to @killercup
Hmm, yeah, that's what I suspect too! It'd be great to know for sure tho :D
8:08 AM - 10 Apr 2018
from Berlin, Germany
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.