3 ms·
Does the actual machine code doing computations really differ that much based on the OS? I'd guess the differences are just that you call different libraries an
by ygra 5y ago
Does the actual machine code doing computations really differ that much based on the OS? I'd guess the differences are just that you call different libraries and maybe a different calling convention, but nothing that would impact code running single-threaded without preemptions much.
- zsmi 5y agoHow the architecture handles the memory hierarchy is hugely important, but your example of calling conventions is a good one too. Keep in mind what calling conversions are: "Calling conventions act as a contract between subroutines at the assembly level." https://levelup.gitconnected.com/x86-calling-conventions-a34812afe097 https://levelup.gitconnected.com/x86-calling-conventions-a34...