> 3 syscalls to do what Windblows can do in 1Linux will never be good for gayming.Valve is coping.
>>108512483Yeah, well shut up. What now?
Not all syscalls are created equal.
>>108512483>mov eax, 0x3bNot portable, syscall numbers can change between service packs
>>108512561>portableYes because ARM gayming is "good".
>>108512574Not between architectures, between windows versions
>>108512561Not really. Is it possible? Yeah. Is it likely? No.Syscalls, in general, are not really used in gaming.Also note the unix sequence is probably 10x faster than windows on identical hardware.
>>108512483Fork was a historic mistake. https://www.microsoft.com/en-us/research/wp-content/uploads/2019/04/fork-hotos19.pdfStill unrefuted. Unixtards get angry and throw around threats whenever this text is mentioned, but they can't argue against it.
>>108512600>Not really. Is it possible? Yeah. Is it likely? No.It's likely, you're free to check yourself: https://j00ru.vexillium.org/syscalls/nt/64/
What happened to io_uring_spawn?
>>108512483>mov r10, rcxWhat the fuck does this have to do with the shadow space? That would happen before setting up the syscall args. It's literally not in the pic.
>>108512483I can give you tons of example where it's the opposite.worse, there are tons of cases where with windows you need to write a driver for something that would just be a syscall under linux.
>>108512600>Syscalls, in general, are not really used in gaming. holy fucking shit get out of /g/ you fucking tourist.
>>108512483If you're using syscalls at all, you aren't doing asm retard.Calling a function in the kernel is using C or C++ code, not asm.Furthermore, e.g. glibc, wraps syscalls so you don't even use asm syscall, rather the logic gets directly embedded as the real underlying C code.
>>108512631you literally made a thread seething in anger, telling us your hatred about Linux.. and accuse others of being mad?lmao, like holy shit, take your medsHow about you make one more thread shouting in hatred and telling us just how much you want to kill people and see the blood of everybody who likes something you dislike?
>>108512811Get a load of this fucking retard.
>>108512821>Microsoft releases a Service Pack>your ASM syscall doesnt work anymore, because its code changedif i would be OP, and be responsible for everyone to learn that MS cant manage the most basic ABI compatibility, i would take a gun and shoot myself in the head
Microsoft is so utter shit, the only thing worse than Windows is Mac
>>108512636>all those symcalls changing between 1909 and 2004WTF are they smoking?Why would you ever do that?
>>108512846I want you to fucking understand that this asm is just representing what the C/C++ code compiles down to.It doesn't matter if the asm loads the syscall number from a table instead of being hard coded, it's still the same shit. It's the same fucking shit. "calling a function in the kernel using c or c++ code" is just an abstraction.
>>108512600>dont use syscalls in gaming."your car air conditioner doesnt run on gasoline it runs on a alternator"
>>108512899just dynamically load a couple libraries and ur gucciwtf is everyone's problem
>>108512909It is called dynamic liking.The windows executable doesnt have those codes compiled in, it calls ntdll.dll or kernel32.dll or whatever.If you do a syscall in ASM, your application WILL randomly break between updates because microsoft does not have ABI compatibility here.You will get your shit broken again and again and again, because Windows is too retarded to keep a fucking number the same.
>>108512899You're not meant to use NT kernel API. And even less are you meant to make direct system calls. The ONLY way to program software on Windows is to use the win32 API. >b-but using this Kernel API would let me do something slightly more efficiently-irrelevant. Anyone who is linking directly against NTDLL functions is doing it wrong. And using raw syscalls bypassing even NTDLL is so fucking retarded it should be grounds for getting your license to develop Windows software revoked forever. >b-but muh AFD device for poll emulation -Use IOCP and on the Loonix side, io_uring. That's what .net uses for its async IO backend and guess what, it's faster than shit like libuv could ever hope to be.
>>108512929I dynamically liked your mom last night
>>108512942Basically, Windows is so retarded that it is impossible to use without a load of abstraction layers.Soon you will be unable to run your own C application, because they will break ABI compatibility of their system libs.When you then complain, they will tell you:>You arent supposed to do that! You are supposed to write in JavaScript and React!
>>108512929Which, again, is just referencing that table of syscall numbers.Your program is still doing syscalls.
>>108512958>Windows will break your programs>Still runs 30 year old programs with no issue unlike linux
>>108512929Microsoft literally provides an interface to Windows, which is what you're supposed to use. It's the same shit, it's just a different design choice. You really have to try your hardest at being retarded to not understand this.
>>108512958No, they won't. The C Win32 API and COM/WinRT have been remarkably stable. Only if you rely on things that Microsoft tell you not to use because they're explicitly not stable do you have problems.That's why 30+ year old binaries work, without recompilation, in windows, for the most part. Try that in Loonix where ABI compatibility breaks on every OS release and you can rarely move binaries between distros. While the kernel does its best to never break userspace, the userspace itself relies on shitty libraries like glibc which breaks ABI constantly.>Just recompile every application, broWrong. Fix your mess, loontards.>Just run an entirely different OS that provides the old libraries your program relies on in a namespace (like Steam's Linux Runtimes)That kind of "solution" makes WinSxS seem elegant.
>>108512958Windows has the most stable ABI out of all desktop operating systems.
>>108512970t. someone who never relied on 30yo windows applications everIf you would actually rely on WindowsXP age software, like i do for coding of cars that are from that time, you would know that Windows utterly fucking wrecks everything randomly between versions.There is no "compatibility mode" or setting that could make your old software reliably work.By reliably i mean that it shouldnt crash during flashing and break a head unit of a car.Its impossible. Windows does not have backwards compatibility.You gotta use wine or a Windows XP VM or have an old Windows XP laptop lying around.
>>108512987>Just use The One Distro, bro
>>108512978the interface to Windows, that you are supposed to use, is JavaScrip executed by Edge (Chromium)
>>108512987Windows does not have backwards compatibility.Its a simple fact. Linux is better at running old Windows software than Windows is.Its a fucking embarressment.
>>108513021Kek, come on, you can do better than that
>>108513021Wine's implementation of windows' APIs are at this point more accurate than Microslop's own, I don't even disagree with you there. Still pathetic that Windows' ABis are the only stable ones even on Loonix. Write a Windows application now and Wine in 2060 will be able to run it on future Loonix distros. Write a modern GTK / Qt native Loonix application now and Loonix systems in 2060 will crash and burn wondering what the fuck a GTK 4 is or what those ancient versions of Libc functions the application was linked again might have been.
>>108513032anon, you literally can watch them change syscalls between updates of the same major versionAnd that you cant just run WindowsXP software on Windows 11 and expect everything to work... everybody knows that. Everybody had that situation at some point.If you claim that Windows has backwards compatibility, you are claiming something that everybody knows from experience to be falls. You are telling people that the sky is pink.We can check that.>but but you can double click on it and some window will open and maybe someone made a patch to make it not crash within 5 min and maybe if you tinker a lot and spend hours, you will be able to run that old software partly on a new Windows versionthat is not backwards compatibility, that is trash.
>>108513036Windows ABIs arent stable anywhere.They are complete fucking garbage.I can easily run a gtk2 application and it will just work, but Windows... you first have to go to an OS that isnt windows and pray to the mighty wine gods
>>108513051It's because Windows XP was designed to compensate for the rotational velocidensity of its time, but Windows 11's compensation is just an (inaccurate) emulation layer, which was only tested with the Office suite and other MS programs really.
The people who need backward compatibility are people who have old hardware that needs software to be configured.Like some sensor in an industrial plant wont get replaced every other year. So you might have something that is 20 yo and you need 20 yo software to access it on its rs485.Even if you only have to set modbus registers. Thanks to the power of closed source, you can not use current software for it, because you dont know what the registers do.You will not be able to run any such software on current Windows.There is no backward compatibility.There is no guarantee. Microsoft isn't going to pay you for the damage when Windows 11 crashed Windows 7 software while doing something important.Even if half of the application runs and only the half you dont need crashes, would you risk that?Nobody does.Windows backward compatibility is in an imaginary theoretical realm farm away from reality. In reality, it doesnt work.
>>108513084and why should this be my problem?I dont give a fuck what excuse Microshit comes up with. None of it changes the fact that i can't run old Windows software on current Windows.No amount of cope and marketing brabble can change reality that i can see and witness.
>>108512636and shit like this IS disgusting>but but you arent supposed to directly access that!!!!!It doesn't matter! WHY change it? WHAT is the reason for this?It is obvious what pitfalls are waiting when you do that.How about just not doing that?Just keep that funky hex number the same. How hard can it be to not touch that?
>>108512483Windows syscalls aren't stable, and you cant do this on windooze:
wow, didnt know it had this syscall thing. but what it actually does? Linux is some int <number> command
>>108513119>Windows backward compatibility is in an imaginaryits called forward compatibility. when program made on windows 11 doesnt run on windows 7. backward compatibility is the best. contrary, Linux has a poor module/binary/linker design so programs dont run on the same kernel on different distros.