2931
submitted 1 year ago by Uluganda@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] banazir@lemmy.ml 19 points 1 year ago

Ok, hear me out. Linux is not an easy platform to develop for because it's in constant flux where systems and libraries come, change and go constantly. Linux itself is a somewhat slippery concept (if we expand from the kernel) where "works on linux" can really mean it's been tested on one particular distro. Debian stable and rolling releases are not the same. Unless I am completely mistaken, I can see why major developers are hesitant to support linux, whatever it even is. Is Android linux?

Now, I'm all for this message. Given how OSs have been developing, I advocate for linux adoption and wish people would "vote with their wallet". Otherwise things just will not change. Well, not for better, if recent history is anything to go by. I just feel that this problem has more prongs than we like to admit, being linux enthusiasts.

Please correct me if I'm wrong.

[-] flashgnash@lemm.ee 22 points 1 year ago

Not really the case anymore because of proton, game devs develop for Windows and proton and then it'll run on anything that can run proton, Linux, android, Mac or otherwise in the future

From what I hear thanks to proton it's incredibly easy to develop for Linux, as long as you don't use one of the anticheats that doesn't support it or intentionally prevent it from running in proton you're fine

[-] banazir@lemmy.ml 10 points 1 year ago* (last edited 1 year ago)

Well, yeah, but I think the issue is that the best way to develop for linux is to make a Windows binary. I don't like that. Developers actively sabotaging Wine/Proton compatibility is kind of malicious though.

[-] flashgnash@lemm.ee 7 points 1 year ago* (last edited 1 year ago)

I don't think the best way to develop for Linux is by making a windows binary, I think the best way for game developers to make a Linux version of a game they otherwise wouldn't is by making a windows binary compatible with proton

Problem is very few developers actively choose to make a Linux game and windows games if done right run at native speeds on Linux anyway.

I'm gonna be unpopular for saying this but it's the same thing as using HTML for desktop/mobile apps, sure it's not optimal performance wise but it's a hell of a lot better than often nothing at all because companies can't or won't justify development time to support smaller groups of people on smaller platforms

If such a time comes that desktop Linux has a large enough market share for large companies to take seriously then I'm sure they'll start developing native versions of maybe even make Linux-first games but sadly we're nowhere near that point yet so best we can hope for is good cross compatibility tools

[-] lowleveldata@programming.dev 2 points 1 year ago* (last edited 1 year ago)

I think the issue is that the best way to develop for linux is to make a Windows binary

If it works, it works. Stop those bureaucratic inquisitions like "Stack Overflow says it's not best practice" "Code review is not optional" "It's gonna crash production" yada yada

[-] rufus@discuss.tchncs.de 9 points 1 year ago* (last edited 1 year ago)

You could bundle your specific versions of libraries. And link it statically. Like most games do anyways.

[-] Holzkohlen@feddit.de 3 points 1 year ago

Pretty sure that's not just a Linux thing either.

[-] rufus@discuss.tchncs.de 3 points 1 year ago* (last edited 1 year ago)

I'd think so, too. But afaik windows people don't do so much dynamic linking anyways. Most of the times it's Linux executables that are few megabytes in size and most windows executables are at least tens of megabytes because people prefer statically link things in that world.

Nobody stops you doing the same thing with linux executables.

[-] uis@lemmy.world 1 points 1 year ago

But why? What libraries are causing problems? Zlib? SDL? Actually SDL better kept dynamically linked because SDL sometimes adds support for new interfaces(wayland, egl).

[-] rufus@discuss.tchncs.de 1 points 1 year ago

No libraries are causing problems.

[-] Voyajer@lemmy.world 8 points 1 year ago

Linux game devs should be targeting the Steam Linux Runtime which provides a stable environment.

[-] TheBat@lemmy.world 5 points 1 year ago

Valve should release their distro tbh

[-] uis@lemmy.world 3 points 1 year ago

it's in constant flux where systems and libraries come, change and go constantly.

Same applies to every non-deprecated OS.

[-] CorrodedCranium@leminal.space 2 points 1 year ago

I had some issues running the native version of Prey 2006 because of that

this post was submitted on 06 Sep 2023
2931 points (100.0% liked)

Linux

48324 readers
592 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS