this post was submitted on 11 Jan 2024
31 points (60.1% liked)

Technology

59390 readers
2539 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -3 points 10 months ago* (last edited 10 months ago) (5 children)

No need to worry about viruses

I've encountered viruses on Linux servers. It's definitely something to worry about.

Even if viruses do infect a Linux system, they would have little to no damage. By default, Linux systems run with restricted user permissions and access, which can still be even more hardened using SELinux and AppArmor to the point that each application can be isolated from one another. Making the infection spread impossible.

True - those do help. By the way this is something MacOS does better at. For example the / filesystem is mounted read only. You literally can't write to it at all (software updates get around this by creating a new snapshot of the disk, writing to that, and then rebooting telling the firmware to use the newly created snapshot... which it will only do after firmware level integrity checks against malware). Software, by default, has almost no access to the write to even parts of the disk that the user has access to. It also can't access the internet or printers or bluetooth or cameras or any of that. Access to these things works much like a firewall - there's a white list of things the software can get to. And even then, there are some things that still can't be reached (for example your camera can only be accessed if the user grants permission).

Safer files

Eh. I don't think Linux is any better than other operating systems at that.

Compared to other operating systems, Linux is not resource-hungry. Meaning it used less RAM and CPU usage

I disagree. MacOS is more efficient... a Mac with 8GB of RAM and a slow CPU is generally going to be better at every day tasks. Ever heard that Macs have incredible battery life? That's because they're efficient. I'm pretty sure the CPU in my laptop is technically capable of draining the battery in about 45 minutes, but in real world use I get about 18 hours of battery life out of it - because the software works really really hard to keep CPU idle. On slower hardware that translates to excellent performance.

Sure - install the right software on a Linux system, it won't need much in the way of resources... but on MacOS you can run modern state of the art software efficiently - a lot of that comes down to low level features like GCD and ARC. Both of which can be used on Linux (they're open source) but in practice you won't find any software that actually uses them. On MacOS pretty much everything uses them.

Free to use; Flexibility

100% agree. That's where Linux really shines (I think you should have lead with those) and these are the two reasons I run either Linux and MacOS for 99% of my computing life. I even have Linux VMs running on my Macs most of the time. Use the best tool for the job (I even have a couple Windows PCs, though those are rarely used).

[–] [email protected] 1 points 10 months ago (1 children)

a lot of that comes down to low level features like GCD and ARC.

Ah, almost but this shows you're just bullshitting (knowingly or not). Those are programming features and neither serves resource efficiency but security and preventing other errors. Important things, but managing memory manually in C will be faster and less resource-intensive than any smart-pointer variant. Doing so flawlessly is hard though.

[–] [email protected] 3 points 10 months ago

Actually GCD is a library (libdispatch) rather than just a language feature and can be used on other platforms: https://github.com/apple/swift-corelibs-libdispatch

load more comments (3 replies)