Remix.run Logo
darubedarob 6 hours ago

I think google of all companies could build a good autostripper reducing binaries by adding partial load assembly on misses. It cant be much slower then shovelling a full monorepo assembly plus symbols into ram.

loeg 6 hours ago | parent [-]

The low-hanging fruit is just not shipping the debuginfo, of course.

usefulcat 2 hours ago | parent [-]

Is compressed debug info a thing? It seems likely to compress well, and if it's rarely used then it might be a worthwhile thing to do?

loeg 2 hours ago | parent [-]

It is: https://maskray.me/blog/2022-01-23-compressed-debug-sections

But the compression ratio isn't magical (approx. 1:0.25, for both zlib and zstd in the examples given). You'd probably still want to set aside debuginfo in separate files.