3 ms·
It should be slightly less janky than Android with all the Java in it. There are still a lot of midrange phones out there, and IOS has always felt smoother.
by stuaxo 4y ago
It should be slightly less janky than Android with all the Java in it.
There are still a lot of midrange phones out there, and IOS has always felt smoother.
- ignoramous 4y ago> It should be slightly less janky than Android with all the Java in it. GP comment mentions that userspace apps on Fuschia are predominantly Flutter apps, which isn't only running Dart (in a VM), but also using Skia for 2D (and 3D?) graphics, and that isn't going to go faster than native. With Fuschia, I believe the primary objective has always been a secure kernel base to build the rest of the OS upon. Even ignoring its vast codebase (think: openvpn/ipsec v wireguard), that is pretty hard to do with Linux without performance costs or support from underlying architectures (ex: https://github.com/google/kernel-sanitizers https://github.com/google/kernel-sanitizers). The Android Runtime otoh has long moved to AOT for hot-paths (profile-guided optimization) and JIT for the cold ones.
- pjmlp 4y agoDart is also AOT/JIT compiled since version 2 was introduced.
- pjmlp 4y agoJava is AOT compiled since Android 5, switched into AOT/JIT with PGO feedback loop since Android 7, and as of Android 8 PGO data gets shared across devices via the Play Store. The biggest difference is that while some Android devices might be a sluggish if too many applications are taking liberties with memory, on iOS they just die, specially on Objective-C code, where not everyone checks all pointer related code.