3 ms·
Maybe it helps with latency? When a user presses a button, you don't want to have to compile some code before you can show them the result.
by sp332 12y ago
Maybe it helps with latency? When a user presses a button, you don't want to have to compile some code before you can show them the result.
- rockdoe 12y agoThat's not really an advantage of AoT over JIT+interpreter, is it? AoT requires compiling at first run, the JIT can just use the interpreter (and preferably compile in the background).
- bane 12y agoWouldn't the background JIT thread possibly cause some of Android's notorious stuttering in the UI? Let's be honest, today's smartphones are more powerful than desktops of only a 3-5 years ago for most things, have as much RAM, decent GPUs and as many cores and near enough as much storage. It's actually pretty miraculous what's been crammed into these tiny mobile computers. When you remove the battery out of one it's pretty astonishing how much computing you can fit in a few ounces.
- rockdoe 12y agoWouldn't the background JIT thread possibly cause some of Android's notorious stuttering in the UI? No? Why would it? Unless it's a single-core device with bad scheduling and prioritization, that makes no sense.