by fullspectrumdev · 2y ago · 0 comments
Switching to static linking using a sane libc (not glibc) can be a pain initially but you end up with way less overhead IMO.
I think you need to quantify "very wasteful". Quite frankly it's actually just fine. Totally fine. Especially when the alternative has turned out to be massive Docker images! So the alternative isn't actually any better. Womp womp.
An actually elegant solution would be a copy-on-write filesystem that can deduplicate. It'd be the best of both worlds.
how does that work when you app needs access to the gpu drivers ?