Better HN
topnewbestaskshowjobs
Log inSign up

Jake_Wharton

15 karma · joined Aug 26, 2020 (6y ago) · 4 submissions

Submissions

comment 4y ago · link · parent

Android keyboard always runs in its own process. No distinction between first-party and third-party either as they're both just regular apps like the launcher or browser. One simply is the default.

comment 6y ago · link · parent

Removing `-dontobfuscate` will change all the package, type, and function names to be single letters for the same result of greater compression.

The goal here was to just get it small enough, not the smallest it could possibly be.

comment 6y ago · link · parent

The goal here was to get the binary size to be small enough, not the smallest it could possibly be. The tool was written in 2 hours because I used a language I was proficient in. While I love me some Rust it would easily double if not triple the time it would take me to build the thing in the first place

comment 6y ago · link · parent

The final section of the post was a Java port and size comparison. It also noted that while it was smaller, I simply don't want to use Java and the minute any external dependency is added (such as for CLI parsing) I'm right back to needing R8 for minifying.

I removed that part since the post was long enough.