News for hackers. Stuff that matters.
Re:Google’s Fuchsia OS was one of the hardest hit by last we... by stuaxo on Wednesday January 25, 2023 @05:52AM (#34516827)
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.

Re:Google’s Fuchsia OS was one of the hardest hit by last we... by ignoramous on Wednesday January 25, 2023 @06:46AM (#34517162)
> 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. That is pretty hard to do with Linux without performance costs or support from underlying architectures (ex: 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.

Re:Google’s Fuchsia OS was one of the hardest hit by last we... by pjmlp on Wednesday January 25, 2023 @07:55AM (#34517669)
Dart is also AOT/JIT compiled since version 2 was introduced.
Re:Google’s Fuchsia OS was one of the hardest hit by last we... by pjmlp on Wednesday January 25, 2023 @07:54AM (#34517664)
Java 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.