Re:Linux surpasses the Mac among Steam gamers
by bombolo on Friday August 04, 2023 @10:17AM
(#37000408)
once a developer from a company whose device i had bought, told me they couldn't support linux because every distribution had a different way to open a serial port and read data.
Wouldn't that be handled mostly by the kernel, and they all more or less use the same kernel?
Re:Linux surpasses the Mac among Steam gamers
by taeric on Friday August 04, 2023 @11:49AM
(#37001650)
It is almost certainly handled by whatever library they are using to interface. And if they didn't pick one that is targeting linux, then that would be more work for them.
That is, this is likely easily solvable, but it is most easily solvable at the beginning of a project by choice of base libraries. I can understand not wanting to change things after the fact for a presumably small user base.
Re:Linux surpasses the Mac among Steam gamers
by bombolo on Friday August 04, 2023 @03:30PM
(#37004725)
Are you replying to something else?
They claimed that they'd need a different implementation per distribution. Which makes no sense. It's just open()/ioctl_tty()/read()/write(), all of which are in the libc of every distribution that has ever existed since the 90s.
Re:Linux surpasses the Mac among Steam gamers
by taeric on Friday August 04, 2023 @03:52PM
(#37004999)
Fair, I'm putting charity to the claim and assuming that they coded against a Microsoft toolchain. That is, my assumption would not be that it was the different distros, but that is just an easy thing to say.
Nope. The biggest barrier is the FUD around there being so much variance. 99% of desktop Linux is glibc-based. Beyond that, binary compatibility is no harder than Windows. Differrent yes, meaning devs used to Windows have some learning to do, but not drastically different even.