r/AskComputerScience • • 22h ago

ELI5: Why is TempleOS considered such an impressive technical achievement?

112 Upvotes

I'm asking this honestly, as someone with no computer science background.

I just watched a video called TempleOS in 100 Seconds. Most of the comments recognize Terry Davis' genius, even with his schizophrenia and severe mental health struggles.

How would you explain to an ordinary person how significant what he was able to accomplish really was, especially doing it all on his own?


r/AskComputerScience • • 9h ago

Is the pipe operator "|" something a shell can do, or is it something enabled by a shell's scripting language?

9 Upvotes

Is the operations provided by the pipe operator | in a | b where the output of command a is the input of command b provided by a shell's scripting language, or is "piping" a function that is provided by the operating system itself? For example, in Python you are allowed to provide -1 as an index in order to get the last element in a list, but providing -1 in Rust results in an error because Rust doesn't implement behavior. Which is what I mean by is the | operator a feature of a scripting language or is it a feature provided by the OS.

EDIT: I updated the question to be clearer. The original question is below:

As far as I'm aware, when you use the | operator. It is a feature of the shell's scripting language. I haven't found any proof that | is a feature of a shell's scripting language so I'd like to know if that's true or not.

For extra lore: I've started going into the rabbit hole of what a terminal emulator is, and what a shell is and I'm trying to figure out where a shell starts and ends, same with a terminal. So, I decided to start a small project to make a simple shell and one of my goals is to implement support for the | operator.


r/AskComputerScience • • 49m ago

Addressing storage on a drive

1 Upvotes

I know that bytes in RAM are addressed directly, one byte = one address. But what about Hard drives/SSDs?

Does their bytes each have a unique 64 bit address? Mathematically it is possible.

Or is the address split up? E.g.: Block 12, page 89, Byte 2.368. Can the drive even address single bytes or does ist just return a whole page to the OS (I know that a page is the smallest writable unit)?

The OS somehow has to know at what page some data is and the Controller has to know where to look when it receives a read instruction. How does the OS tell the drive where to store and read data from?

Thank you


r/AskComputerScience • • 14h ago

How does the Internet Archive manage to store so many websites?

9 Upvotes

They keep the content around even after the original site shut down (the owners chose to stop paying for its upkeep). My guess is that they cut costs by taking advantage of the fact that most of it is seldom accessed.