this post was submitted on 12 Aug 2023
69 points (92.6% liked)

Apple

17285 readers
109 users here now

Welcome

to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!

Rules:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

Communities of Interest:

Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple

Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode

Community banner courtesy of u/Antsomnia.

founded 1 year ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] Sheltac@lemmy.world 35 points 1 year ago (2 children)

Interesting, I always thought it had to do with Android’s ungodly software stack which at some point involves, of all things, fucking java.

[–] fartsparkles@sh.itjust.works -2 points 1 year ago (1 children)

Android doesn’t use Java at a byte-code level and never has, as far as I can tell. Source code was written in Java since mobile developers were so used to it but Android never ran the JVM, they do their own thing with Java source.

You can dislike Java syntax but the software stack on Android wasn’t Java’s.

[–] vzq@lemmy.blahaj.zone 10 points 1 year ago

Dalvik/ART is essentially the same idea. It uses dalvik byte code, much in the same way the JVM operates.

There’s some complexity (it’s designed to do different things, and the whole Oracle lawsuits added some wrinkles) but it’s not so different as you imply.

[–] Aux@lemmy.world -5 points 1 year ago (1 children)

Java is only used for software development, there's nothing Java during run time.

[–] huginn@feddit.it 4 points 1 year ago (1 children)
[–] Aux@lemmy.world 0 points 1 year ago (2 children)
[–] huginn@feddit.it 3 points 1 year ago

ART is the equivalent of a JVM. It doesn't implement all the apis, the compiled bytecode differs, it's optimized for mobile but that doesn't make it not a JVM.

That's why the NDK exists: so you can build and run C++ code natively.

[–] hark@lemmy.world 0 points 1 year ago

Thou art wrong.

I have no experience with iOS but I do develop for the Meta Quest which runs on Android and wow is it jank. One solution for apps up to 2GB and another for up to 4GB and yet another, much more complicated solution for apps over 4GB. Is iOS like this too?

[–] steeev@midwest.social 3 points 1 year ago (1 children)

TIL that a microsecond exists and 1 millisecond is the same as 1,000 microseconds.

[–] FleetingTit@feddit.de 6 points 1 year ago

Wt... oh, congratulations on being one of todays lucky 10k