Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
coja ( coja@lemmy.ml )  to Programmer Humor@lemmy.ml · 3年前

So cool, dude!

lemmy.ml

message-square
17
link
fedilink
472

So cool, dude!

lemmy.ml

coja ( coja@lemmy.ml )  to Programmer Humor@lemmy.ml · 3年前
message-square
17
link
fedilink
alert-triangle
You must log in or # to comment.
  • Pechente ( Pechente@feddit.de ) 
    link
    fedilink
    English
    arrow-up
    41
    ·
    3年前

    Is there a reason Android studio is so fucking resource hungry? XCode is running way better with a simulator open and the other Jetbrain IDEs are just fine as well and so is any other virtualization. It’s just Android Studio that sucks somehow.

    • Skull giver ( skullgiver@popplesburger.hilciferous.nl ) 
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      3年前

      [This comment has been deleted by an automated system]

    • pewpew ( pewpew@feddit.it ) 
      link
      fedilink
      English
      arrow-up
      9
      ·
      3年前

      It’s probably because it uses Java, which isn’t known for its speed

      • Petrichor ( Petrichor@feddit.de ) 
        link
        fedilink
        English
        arrow-up
        7
        ·
        3年前

        AFAIK, JetBrains IDEs are also based on Java

        • boonhet ( boonhet@lemm.ee ) 
          link
          fedilink
          arrow-up
          4
          ·
          3年前

          Android Studio is a Jetbrains IDE itself!

      • fiah ( fiah@discuss.tchncs.de ) 
        link
        fedilink
        arrow-up
        6
        ·
        3年前

        the java VM itself is actually pretty damn fast, sometimes even faster than native code because it can optimize code paths while it’s running

        applications built with it tho, I’d say hit and miss but honestly we all know it’s a miss most of the time

        • tias ( tias@discuss.tchncs.de ) 
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3年前

          It has been shown to run faster in some benchmarks. This is usually due to hotspot optimizations performed at runtime by the VM, but also sometimes thanks to offloading the (often costly) deallocation of memory from the main thread. Since Java has a GC running in a background thread, the deallocation of memory occurs outside of the measured execution.

          However, I remain convinced that while burst execution of a computation can perform on par with a language like C or Rust, the total resource usage of Java code is significantly worse. When taking into account the entire execution including GC and JIT compilation, it will have spent more memory and/or CPU cycles. It’s harder to quantify, but the overall performance experienced by the user becomes worse. Fans run more and battery time is lower.

          And yeah, I’d say Java libraries are generally more poorly written than e.g. their Rust counterparts, for example not paying attention to the CPU cache (which is hard and sometimes impossible since Java still lacks value classes).

    • MyNameIsRichard ( MyNameIsRichard@lemmy.ml ) 
      link
      fedilink
      arrow-up
      4
      ·
      3年前

      Android Studio itself doesn’t seem to be that resource hungry but the emulator on the other hand…

      • Dandroid ( dandroid@dandroid.app ) 
        link
        fedilink
        arrow-up
        3
        ·
        3年前

        The emulator runs super well… If your host OS is Linux. If not, yeah, it’s useless.

    • Dandroid ( dandroid@dandroid.app ) 
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      I have had the exact opposite experience.

    • outadoc ( outadoc@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      3年前

      Xcode is also a pretty bad IDE feature-wise, it’s hard to compare the two.

      IntelliJ is not so bad resources-wise, but it’s pretty RAM-hungry and so is the build process, that doesn’t help.

  • pizzaiolo ( pizzaiolo@slrpnk.net ) 
    link
    fedilink
    arrow-up
    15
    ·
    3年前

    Mf running a homemade data center

    • Annoyed_🦀  ( Annoyed_Crabby@monyet.cc ) 
      link
      fedilink
      arrow-up
      3
      ·
      3年前

      It happened in Malaysia some times ago, bitcoin miner using stolen electricity

  • AItoothbrush ( AI_toothbrush@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    3年前

    If i ever want to learn android app development what would you guys recommend. If theres a foss android ide it would be pretty cool.

    • SkyeStarfall ( SkyeStarfall@lemmy.blahaj.zone ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      3年前

      Probably Android Studio, it’s officially supported and does a ton of useful things for you.

  • the100rabh ( the100rabh@lemmy.ml ) 
    link
    fedilink
    arrow-up
    7
    ·
    3年前

    Liar, bloody miners giving a bad name to Android

  • IWantToFuckSpez ( IWantToFuckSpez@kbin.social ) 
    link
    fedilink
    arrow-up
    6
    ·
    3年前

    Electricity must be cheap in that country. No way those top units are working properly when they are stuck in the heat from all the units below

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 7 users / week
  • 338 users / month
  • 1.81K users / 6 months
  • 871 local subscribers
  • 43.7K subscribers
  • 1.25K Posts
  • 10.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • cat_programmer ( cat_programmer@lemmy.ml ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code