57
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 03 Dec 2023
57 points (100.0% liked)
Programming
17314 readers
334 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
Today, no matter where and how you write your code, there's almost 100% chance that the place it will run is on Linux. Even the places it can run that don't look like Linux, are - in most cases - Linux.
Source: I'm a connoisseur of places code can run that aren't Linux, and they are becoming fewer and farther between every day.
What are some places that don't look like Linux but actually are?
I'd think most PC games and other desktop GUI software runs on windows and looks like it runs on windows. And I'd imagine that a web browser on windows isn't secretly a Linux environment.
But yeah, I've written way more code that runs on a web browser or a Linux server than runs on windows.
Amazon Lambda, Azure Automation, GitHub Actions, Amazon CodeDeploy, Azure DevOps, anything Android (not GNU, but runs a Linux kernel), SteamDeck, almost every miniature gamesystem (Genesis Mini, PlayStation Classic, etc), and a variety of the smallest chips that usually run raw C code are gradually getting powerful enough to have a Linxu kernel (I E. Raspberry Pi Zero replacing Arduino in various recipes).
With the SteamDeck's recent rise here's also been a shift towards video games being written first for Linux, then cross-compiled for Windows and much later ported to Nintendo Switch.
I don't know if we have confirmation on whether PlayStation and XBox or Switch run Linux under the hood yet.
Switch almost certainly doesn't (or at least not a recognizable version) or we wouldn't see the release delays we currently see.
It seems like the vast majority of portable hardware above very low power stuff runs a Linux kernel now, even when the rest of the OS is unrecognizable. Mostly via Android, but in exceptional cases with a custom OS.
Right.
Most PC games currently run on Unity, which doesn't care whether it's running on Linux or Windows. I'm not aware of whether PlayStation runs a Linux kernel, but I would bet it does, since they wouldn't get a good price from MS on OS bulk licenses. When the game is installed on a Windows PC, it's obviously running on Windows. When a game is on any of the various (non-Microsoft) game consoles, odds are it's actually running under a Linux Kernel.
True. I would argue that's running half on Windows, of course. The other half, the server, had about a 99.7% chance of being Linux, today. Mostly Amazon Linux running in AWS. Even websites recently developed entirely on Microsoft libraries, and served in Microsoft's cloud service Azure, are largely running under a Linux kernel.