Rosetta Code:Village Pump/OS specifics: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 13:
 
:While no authority on these matters I would say it is better to have multiple entries under one category such as win32, win64, lin32, and lin64, rather than multiple related categories. Speaking of which, I'm far from convinced that X86 and X86-64 Assembly should be different categories. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 16:19, 25 February 2021 (UTC)
::Yes, x86 is yet another matter... There are 16, 32 and 64 bit variants, and many OS-specific variations. On RC, I have mainly seen DOS (16 or 32 bits), Linux (32 or 64) and Windows (32 or 64), but it's far from complete: the UNIX versions will have different system calls, there are also 16-bit Windows (Windows 3.1 era), 16 and 32 bit OS/2, but also Minix, BeOS and Haiku, Plan9 etc. And OpenVMS is [https://vmssoftware.com/ being ported]. See also the Wikipedia categories [[wp:Category:X86_operating_systems]] and [[wp:Category:x86-64 operating systems]]. If we were to provide assembly source for all of these, we would need another RC site! Not even mentioning the CPU peculiarities such as SSE2/3/4, AVX, etc. which could matter on CPU-intensive tasks (linear algebra for instance). Now, I don't think it's the purpose of the site to show everything, and anyway to achieve this we would need people with the knowledge and motivation. My point was that ''programming chrestomathy'' can span to other matters related to libraries and operating systems, and while there are already examples of this on RC, it's not entirely clear where the limit may be, if there is one. I don't plan to go beyond DOS, OS/2, Windows and possibly the most common POSIX operating systems. However, thinking about it, it would be interesting to provide good code for LU decomposition (for instance), on various generations of Intel CPUs, to show the difference and benefit of the newer ones. I might work on it, but not right now. [[User:Bastet|Bastet]] ([[User talk:Bastet|talk]]) 18:56, 25 February 2021 (UTC)
175

edits