News for hackers. Stuff that matters.
Re:Slimium: Debloating the Chromium Browser with Feature Sub... by chenxiaolong on Monday November 09, 2020 @11:17PM (#25042776)
One thing I've done in a project before was statically linking all of my native library's dependencies into the library itself. Everything would be compiled with `-ffunction-sections -fdata-sections` and the final shared library linked with `-Wl,--gc-sections`. I'd call `strip` on the `.so` as well.

This worked well because the JVM code only ever called the native API I exposed and did not need to access the dependencies' APIs.

Re:Slimium: Debloating the Chromium Browser with Feature Sub... by lern_too_spel on Tuesday November 10, 2020 @12:15PM (#25048324)
I'm specifically looking for what R8 calls "tree-shaking."