• peopleproblems@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    It’s actually kind of nice coming from C.

    I’m reading this and all I can think is “yeah, I too would rather lose a limb than let a necrotic infection spread.”

    • Kage520@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      C sucks to write and take care of memory, but it’s nice for super efficient code for use on smart watches. Samsung ditched it (tizen- native apps written in C) in favor of wearOS (java?), and their battery life is now less than half what it was.

        • frozen@lemmy.frozeninferno.xyz
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Holy hell Java on a Smartwatch?

          WearOS is based on Android, which uses Android Runtime (ART) as the application runtime. ART uses Java (or any other JVM-compatible language, such as Kotlin) as the development language, but compiles the app to native code when it’s installed on a client device.

          So… Kind of?