• 4 Posts
  • 719 Comments
Joined 1 year ago
cake
Cake day: June 1st, 2023

help-circle




  • There are a few reasons for this, some of the most important being:

    • The languages were not designed with speed primarily in mind and as such made some design decisions that fundamentally cannot be optimized around
    • Authors of programs in these languages prioritize things other than performance when writing the programs.

    Speed is not just about processors becoming faster - this is a large part of why DSA is important to learn as a programmer.




  • I’m on the trip as well, it’s excellent. I have a vague preference for flavour in coffee, but what I crave most of all is variety. This subscription gives me that. The only downside is that it’s just barely less than the amount of coffee I usually drink in any given month at home, so sometimes I have to supplement my subscription with an extra bag.

    There are worse problems to have though in this world, to be fair.











  • GissaMittJobb@lemmy.mltoMicroblog Memes@lemmy.worldWait, not like that
    link
    fedilink
    English
    arrow-up
    70
    arrow-down
    1
    ·
    6 days ago

    ACs are just heat pumps where they forgot to install the reversing valve.

    Heat pumps running in heating mode are basically ACs that are trying to cool down the outside. The fundamental technology just moves heat from one place to another, leaving one place warmer and one place colder.

    This is also how fridges and freezers work - they have heat pumps that pump out the heat from inside their box and as such make the room they are in warmer.


  • It’s not out of the question to have ‘memory leaks’ - apps accumulating more memory by keeping around references to more and more objects - but memory leaks in the stricter sense of not deallocating objects that you no longer have references to is less likely. Regardless, the OOM killer will come for your app, no matter how good you’ve been about managing your memory, as long as someone else wants to have the memory and you’re the one who has been active the least recently.