7 ms·
RISC OS is written mostly in ARM assembly, but it's a pretty complete (if dated) OS. I think it would be interesting to convert the sources to LLVM-IR and then
by lsllc 6y ago
RISC OS is written mostly in ARM assembly, but it's a pretty complete (if dated) OS. I think it would be interesting to convert the sources to LLVM-IR and then abstract the hardware specific parts giving you a cross platform version of RISC-OS. Yeah, it'd be a lot of work ... but I think it'd be very cool.
Why?
25 years ago there were dozens of OS's: AIX, Ultrix/OSF-1/Tru64, HP/UX, DG/UX, SCO (yuck), MS-DOS, Dynix/PTX, Solaris/SunOS, Windows, MSDOS, Mac, VMS, RISC-OS, Amiga, BeOS etc. etc. Now we're down to a handful of OSs with a large amount of computing now converging on Intel/Linux -- FWIW, I have nothing against Linux, I've used it since the early Slackware / pre 1.0 kernel days.
But I do believe competition is a good thing and the current trend for OS (and processor) convergence is worrying to me. I'd like to see more innovation and diversity in this space.
- makapuf 6y agoListing some I know of: linux windows macos freebsd redox fuchsia ios android(sharing the kernel but sufficiently different from linux) chromeos plus many more experimental but available os
- saagarjha 6y agoChrome OS is Linux too.
- pjmlp 6y agoChromeOS uses Linux kernel, userspace has nothing to do with Linux. Even Crostini and ARC++ execute inside their own VM alongside their own kernel flavour. With Google turning the Web into ChromeOS, it matters even less, given how many OSes Chrome runs on.
- lproven 6y ago• linux <- an xNix (DEC PDP-7/PDP-11 OS) • windows <- modernised VMS (DEC VAX OS, the 32-bit PDP-11) • macos <- xNix • freebsd <- xNix • redox <- experimental, unfinished, no apps, xNix-like • fuchsia <- xNix in Go • ios <- basically macOS, an xNix • android <- a weird Linux • chromeos <- Linux That's 2 so far. 2.5 if I'm being generous. Do keep going, would you?
- yjftsjthsd-h 6y agoThat's 2 families, not 2 operating systems. If you can tell me with a straight face that Debian, FreeBSD, and iOS are the same thing, then we're really not having the same conversation.
- lproven 6y agoUnix is Unix is Unix. Compared to the diversity that is out there even now, and far more so, to that which _was_ out there 25y ago, all Unixes are the same OS, yes. They are all one because the differences between them are trivial compared to their similarities. It doesn't matter if the kernel is monolithic or modular, or if the filesystem is case-preserving but not case-sensitive (NT, macOS). These are hidden technical details. But most people now have only SEEN Unix and nothing else, so they think that these trivial implementation details -- like what is the default shell, or where are libraries kept -- are important differences. They aren't. They're unimportant decorative details. When I talk about diversity, let's talk about some real non-xNix OSes I have owned, used, and worked with. Assumption: shells Imagine an OS with no shell. No command line at all. Shells are not a given. The idea of typing commands in text at a keyboard, hitting Return to send it for evaluation, getting an answer back, and acting according to that: that is an assumption, and it is one that came from 1960s mainframes. The slightly more subtle idea that your input is sent character by character, and changing those can interrupt this -- e.g. Ctrl+C to cancel -- that's an assumption, too. It's from 1970s minicomputers, and indeed, the modern version is from one specific company's range: the Digital Equipment Corporation PDP series. The "enhanced" keyboard layout? Not IBM: DEC. The 6-dot-3 then 8-dot-3 letter filename thing? DEC. Filename plus extension at all? DEC. Alternatives: classic MacOS. Atari TOS/GEM. ETH Oberon. Apple NewtonOS. Psion EPOC16 and EPOC32. Assumption: configuration held in text files Config files are an assumption. I have used multiple OSes with no config files at all, anywhere. Not hidden: nonexistent. The idea of keeping config in the filesystem is an artifact of one design school. Other alternatives to it have included: - a single global database, part of the OS, not visible in the filesystem at all. - multiple databases, implemented as different parts of the OS design. One inside the kernel, one inside the filesystem structures of the OS. - per-app databases, managed by OS APIs. So you don't write files or choose a format: you call the OS and give it things to store, or ask it what's there. The upshot of these latter two kinds of design is that you get facilities like connecting a storage medium to the computer, and all its programs and data are instantly accessible to the user -- in menus, as associations, whatever. And when you eject a medium, it all neatly disappears again, reverting to previous values where appropriate. Best example: classic MacOS. Assumption: there is a filesystem. This is an integrated indexing system that stores data in blocks of auxiliary storage, where they can be found by name, and the OS will read data from them into RAM. Filesystems are an assumption. Hierarchical filesystems are a bigger one. Alternatives: All data is in primary storage (IBM OS/400, AKA IBM i.) Or, media can contain databases, managed by the OS but not accessible by name (Apple NewtonOS). Or, the primary storage is objects in RAM, and saving to disk is accomplished by snap-shotting entire system state to auxiliary storage. (Example: Xerox Smalltalk.) Or, the primary storage is lists of values in RAM, and as above, disks are mainly used for import/export and for holding state snapshots. (Example: Lisp machines.) When you take a long view, in historical context -- not the narrow parochial one of the last decade or two -- then yes, these are all different implementations of near-identical Unix systems. You've seen one Unix, you've seen 'em all. What we have today is a biculture: various flavours of Unix, and NT. That's it nothing else. There used to be a verdant, rich forest here. Now, there is just a plantation, with fruit trees and pine trees. You're pointing at apple trees and pear trees and saying "look, they're different!" And at plums (and cherries and damsons and peaches) and oranges (and lemons and grapefruit and limes). Well, yes they are, a little bit. But look deeper, and there are hard fruit, stone fruit, citrus fruit, nuts. But all deciduous broadleafed hardwoods. There used to be creepers and vines and lianas and rattan, and grasses and orchids and bromeliads and ferns, and giant herbs, and little parasitic things, some with vast flowers, and mosses and lichens and liverworts. There was a forest, and it's gone, and no, you cannot persuade me that a neat tidy little orchard with a handful of fruit trees is the same thing.
- fitbitq 6y agoHarvey OS Redox OS
- yjftsjthsd-h 6y agoThere's also freedos, haiku, and reactos.
- deleted 6y ago[deleted]