76
submitted 1 year ago* (last edited 1 year ago) by octalfudge@lemmy.world to c/apple_enthusiast@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] huginn@feddit.it 4 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.

[-] Aux@lemmy.world -5 points 1 year ago

Python VM is Java by your logic. If you don't understand IT, you shouldn't really talk on IT topics.

[-] huginn@feddit.it 2 points 1 year ago

I can use the exact same apache jars on my Android project and my Java server.

That's not Python. That's very clearly java code.

The implementation of the contract is different but that's not the same as not being Java.

[-] Aux@lemmy.world 1 points 1 year ago

You can't use the same JARs in runtime.

[-] huginn@feddit.it 0 points 1 year ago

You absolutely can pull the same jars into server and android projects.

Sometimes you need a different one for Android to avoid NoClassDefFoundErrors but you're totally able to grab a jar and stick it directly into both sides.

[-] Aux@lemmy.world 0 points 1 year ago

The hell are you even talking about? You can't even load a JAR file on Android. My god...

this post was submitted on 12 Aug 2023
76 points (91.3% liked)

Apple

17431 readers
141 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