Post AtE9cKts0Lfb8IUWps by kc@mastodon.dragoncave.dev
 (DIR) More posts by kc@mastodon.dragoncave.dev
 (DIR) Post #AtE9cJjCMXXVUuUUYy by whitequark@mastodon.social
       2025-04-18T16:00:03Z
       
       0 likes, 0 repeats
       
       upsetting discovery: electron apps have 16 megabytes of *relocations alone*i could fit at least four copies of Linux with a complete userland in that spacethe red on the left is relocations.
       
 (DIR) Post #AtE9cKts0Lfb8IUWps by kc@mastodon.dragoncave.dev
       2025-04-18T16:40:50Z
       
       0 likes, 0 repeats
       
       @whitequark > i could fit at least four copies of Linux with a complete userland in that spacei did not realize Linux can get *that* smol
       
 (DIR) Post #AtE9cM37jQfMhHpQtk by teajaygrey@snac.bsd.cafe
       2025-04-18T17:24:43Z
       
       0 likes, 0 repeats
       
       That's almost the irony which hammers the message home?Linux is not smol. It's a friggin ginormous kernel!IMHO, Andrew S. Tanenbaum was correct for criticizing Linux for reinventing the "flat tire" of a monolithic kernel (history for those who may have missed it: https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate)More recent microkernels, such as (se)L4 variants, can often fit within the a CPU's cache entirely.CC: @whitequark@mastodon.social
       
 (DIR) Post #AtE9cMwQPotzSnhb60 by ignaloidas@not.acu.lt
       2025-04-18T21:01:57.195Z
       
       0 likes, 0 repeats
       
       @teajaygrey@snac.bsd.cafe @whitequark@mastodon.social I mean, common CPU's these days that can fit the whole system image for some routers running linux in cache, so that's not that much of a flex
       
 (DIR) Post #AtE9cOVYagbAK39AUi by whitequark@mastodon.social
       2025-04-18T16:01:03Z
       
       0 likes, 0 repeats
       
       i think the "relr" relocation format was invented to fix exactly this, although then i'm not sure why it's not used here