News for hackers. Stuff that matters.
Re:Steam survey shows Linux marketshare hitting 1.0% by xxs on Monday August 02, 2021 @06:04AM (#28034787)
Windows has no epoll(), but of course that doesn't matter for games.
Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @06:08AM (#28034811)
Windows does have I/O completion ports, which is, frankly, superior. Then again, Linux has io_uring.

Again, pointless in the big picture. Most of the time these details are hidden by libraries.

Re:Steam survey shows Linux marketshare hitting 1.0% by merb on Monday August 02, 2021 @06:54AM (#28035061)
Btw Windows built an api based on io_uring https://windows-internals.com/i-o-rings-when-one-i-o-operati...
Re:Steam survey shows Linux marketshare hitting 1.0% by vardump on Monday August 02, 2021 @07:02AM (#28035115)
Nice! Haven't heard about this before, must be something really new?

Anyways given extremely high syscall cost due to Meltdown workarounds, batching multiple operations makes more and more sense.

Re:Steam survey shows Linux marketshare hitting 1.0% by merb on Monday August 02, 2021 @09:21AM (#28036164)
well as far as I know I've read something about it either on lwn or hn and it's really really new. I'm not exactly sure if it is even possible to use.
Re:Steam survey shows Linux marketshare hitting 1.0% by maccard on Monday August 02, 2021 @06:47AM (#28035020)
> Again, pointless in the big picture. Most of the time these details are hidden by libraries.

Except for when they're not, or those libraries don't expose the "one little implementation detail", and a platform hack sneaks in, and _thats_ how we end up with "well it works fine on windows and we use asio so shrug". Unfortunately games are really bad for doing this in my experience (and I'm guilty of doing it on occasion too).

Re:Steam survey shows Linux marketshare hitting 1.0% by lucian1900 on Monday August 02, 2021 @06:07AM (#28034807)
Windows has completion ports (IOCP), which are much better.

At least finally Linux is also getting completion based IO with io_uring.

Re:Steam survey shows Linux marketshare hitting 1.0% by yxhuvud on Monday August 02, 2021 @07:45AM (#28035379)
Seems windows is getting ring buffers based io too, eventually: https://windows-internals.com/i-o-rings-when-one-i-o-operati...

Not identical to io_uring, but close enough that porting between them will probably be quite simple.

Re:Steam survey shows Linux marketshare hitting 1.0% by lucian1900 on Monday August 02, 2021 @10:52AM (#28037247)
Sure, the ring buffer part of also useful.

The competition triggered part is what was already there.