http://TextEdit.app loads 260 modules into its address space, including a GPU-accelerated neural network.
-
Show this thread
-
Replying to @pcwalton
Yeah, that shared cache thing — I was looking at VM layout and saw them all bundled up in a shared submap, conveniently aligned at a page table boundary. It would be nice to be able to set up something similar for an application's libraries but I didn't see anything for that.
1 reply 0 retweets 0 likes -
Replying to @xlerb
This is a dumb question, but is there a reason why Firefox isn’t statically linked?
1 reply 0 retweets 1 like -
There are, in fact, many. One is that even now, the separate plugin-container executable exists, and we wouldn't want libxul to be statically linked to both plugin-container and firefox.
1 reply 0 retweets 0 likes -
And then there's the fact that we manually preload libxul because OSes are really bad at handling big binaries in an efficient way. That matters less on SSDs, but with spinning disks, it makes a ton of difference.
1 reply 0 retweets 0 likes -
Short of writing a dynamic linker for each OS, we wouldn't be able to do that with a statically linked executable.
1 reply 0 retweets 0 likes -
Then there's the fact that NSS relies on dynamic libraries, so Firefox couldn't be entirely statically linked anyways.
1 reply 0 retweets 0 likes
Gotcha. Thanks!
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.