Android Runtime (ART) [Android Bits #5]

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2023
  • Review of Android Runtime and explanation of why it became part of Android ecosystem to begin with.
  • บันเทิง

ความคิดเห็น • 7

  • @TechYourChance
    @TechYourChance  ปีที่แล้ว

    Correction: XML files aren't compiled into .class files (and then to .dex), but rather into binary XML format. Binary XMLs also packaged into the final .apk file and constitute one of the inputs into ART.

  • @dhanan-j1466
    @dhanan-j1466 ปีที่แล้ว

    Very well explained Vasilily👏

  • @saeedalobidi4195
    @saeedalobidi4195 ปีที่แล้ว

    amazing 100%

  • @eslambasher5720
    @eslambasher5720 4 หลายเดือนก่อน

    I have a question now I know JAVA use jvm to achieve the principle write one run anywhere that mean to run java code on any operating system so here in android we don't need jvm because we have just one operating system that is android so why we convert source code first to bytecode and after that to machine code?

  • @Mike_x64
    @Mike_x64 ปีที่แล้ว +2

    XML is not compiled to class files.

    • @Mike_x64
      @Mike_x64 ปีที่แล้ว +1

      ART/Dalvik are NOT versions of JVM.

    • @TechYourChance
      @TechYourChance  ปีที่แล้ว +4

      @@Mike_x64 you're right, XMLs are compiled, but not into class files. My bad.
      As for Dalvik/ART not being JVMs, I didn't want to go into the weeds. It's already complex enough to understand the high-level picture, so I don't think the formality of what JVM is is required. ART plays the role of JVM in Android world, provides Java runtime libs, so I think it fits the description of a "modified JVM". However, I'll review this video later and see if the inaccuracies are bad enough to warrant re-production.
      Thanks for your comments.