• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle

  • Almost all programs use both 32bit and 64bit integers, sometimes even smaller ones, if possible. Being memory efficient is critical for performance, as L1 caches are still very small.

    Garbage collection is a feature of programming languages, not an OS. Almost all native linux software is written in systems programming languages like C, Rust or C++, none of which have a garbage collector.

    Swap is used the same way on both linux and windows, but kicking toolbar items out of ram is not actually a thing. It needs to be drawn to the screen every frame, so it (or a pixel buffer for the entire toolbar) will kick around in VRAM at the very least. A transfer from disk to VRAM can take hundreds of milliseconds, which would limit you to like 5 fps, no one retransfers images like that every frame.

    Also your icon is 1.1Mbit not 1.1MB

    I have a gentoo install that uses 50MB of ram for everything including its GUI. A webbrowser will still eat up gigabytes of ram, the OS has literally no say in this.




  • rasensprenger@feddit.detoMemes@lemmy.mlunholy software..
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Linux by itself is just a kernel, there’s a whole range of operating systems using it. Most of them have some commonalities, but there are also huge differences. Most of them can run directly from a USB stick (or in a VM obviously), so you can try some out.

    Some things that basically all of them do very well, compared to windows:

    • mainly open source components (± some proprietary drivers and apps, if you want)

    • no ads in the OS

    • support for very old hardware, being (depending on actual OS more or less) light and resource efficient

    • very good package management

    • customizability

    There are many things that are specific to some OSes. I switched from Windows 10 years ago, and I can’t see myself going back. Everytime I have to use it somewhere, I get annoyed quickly.

    There are some drawbacks:

    • software has to be built against a specific kernel, and some proprietary software is not offered for linux. There are compatability layers for running windows software on linux without emulation, but they are mainly optimized for games (I’ve had windows-only games run faster on linux than on windows!).

    • some drivers are unavailable for linux, as the device manufacturers have to cooperate somewhat. However, almost everything will work.

    • some drivers are available, but require binary blobs distributed by the manufacturer. The proprierary NVidia drivers, for example, are faster than the open source reimplementation noveau, but they can cause problems with some software like sway. If you have an AMD gpu, their open source drivers are great, so no problems.

    Roughly all the servers (including Microsofts own cloud), half the mobile systems, lots of the larger embedded stuff and some small percentage of deksktop systems are using Linux. Again, just try something (maybe Pop!_OS or Mint) and see if you like it.