CS101++ - What is an Operating System?
Вставка
- Опубліковано 1 чер 2024
- ☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟
Upcoming Workshop: Understanding Object Lifetime, C++ On Sea, July 2, 2024
► cpponsea.uk/2024/sessions/und...
Upcoming Workshop: C++ Best Practices, NDC TechTown, Sept 9-10, 2024
► ndctechtown.com/workshops/c-b...
github.com/lefticus/cpp_weekl... for open ended conversions about CS101++ videos
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! my-store-d16a2f.creator-sprin...
WANT MORE JASON?
► My Training Classes: emptycrate.com/training.html
► Follow me on twitter: / lefticus
SUPPORT THE CHANNEL
► Patreon: / lefticus
► Github Sponsors: github.com/sponsors/lefticus
► Paypal Donation: www.paypal.com/donate/?hosted...
GET INVOLVED
► Video Idea List: github.com/lefticus/cpp_weekl...
JASON'S BOOKS
► C++23 Best Practices
Leanpub Ebook: leanpub.com/cpp23_best_practi...
► C++ Best Practices
Amazon Paperback: amzn.to/3wpAU3Z
Leanpub Ebook: leanpub.com/cppbestpractices
JASON'S PUZZLE BOOKS
► Object Lifetime Puzzlers Book 1
Amazon Paperback: amzn.to/3g6Ervj
Leanpub Ebook: leanpub.com/objectlifetimepuz...
► Object Lifetime Puzzlers Book 2
Amazon Paperback: amzn.to/3whdUDU
Leanpub Ebook: leanpub.com/objectlifetimepuz...
► Object Lifetime Puzzlers Book 3
Leanpub Ebook: leanpub.com/objectlifetimepuz...
► Copy and Reference Puzzlers Book 1
Amazon Paperback: amzn.to/3g7ZVb9
Leanpub Ebook: leanpub.com/copyandreferencep...
► Copy and Reference Puzzlers Book 2
Amazon Paperback: amzn.to/3X1LOIx
Leanpub Ebook: leanpub.com/copyandreferencep...
► Copy and Reference Puzzlers Book 3
Leanpub Ebook: leanpub.com/copyandreferencep...
► OpCode Puzzlers Book 1
Amazon Paperback: amzn.to/3KCNJg6
Leanpub Ebook: leanpub.com/opcodepuzzlers_book1
RECOMMENDED BOOKS
► Bjarne Stroustrup's A Tour of C++ (now with C++20/23!): amzn.to/3X4Wypr
AWESOME PROJECTS
► The C++ Starter Project - Gets you started with Best Practices Quickly - github.com/cpp-best-practices...
► C++ Best Practices Forkable Coding Standards - github.com/cpp-best-practices...
O'Reilly VIDEOS
► Inheritance and Polymorphism in C++ - www.oreilly.com/library/view/...
► Learning C++ Best Practices - www.oreilly.com/library/view/... - Наука та технологія
I'm using Arch btw
chad
Linux is a kernel not a full operating system.
Yes and whichever GNU tools, Desktop environment, or other software which you use to interact with said Linux kernel. It's all just called the Linux OS in general conversation.
what tool do you use to write on screen?
PS: i don't mean the note taking app but rather while writing on desktop etc...
It's OneNote
This got me thinking about gaming consoles and at what point a rudimentary system menu becomes considered an OS. I was thinking, "Well, the PS3 system menu is probably not an OS" but apparently it is a fork of FreeBSD. I guess the dividing line on, "Does it have an OS or not?" is if you are able to halt execution of the game or program you are running to return to the system menu or system environment and then return to whatever you were running before as if it had been running the entire time. If we go back another generation, PS2 does appear the system menu is probably not considered "an OS". As you get to earlier console generations, it does make me curious what that means for developing on them. Do the devkits hide away a lot of the low level manipulation or do the developers really have to have an extremely low-level understanding of the hardware to make games for them?
Lol what do you think run games if there is no os in consoles
@@loremipsum3147 Running directly on the hardware kind of like real mode. I thought this might be the case with PS3 since the menu is so simplistic but was surprised that it was based on FreeBSD. The PS2/Xbox/Gamecube/Dreamcast generation seems to be the primary dividing line on when consoles became OS-ified (only Dreamcast and Xbox appear to be running an OS in that generation and both based on customized Windows variations). Most game consoles before that generation would be considered to have either a BIOS or bootloader at most, but certainly consoles like the Nintendo Entertainment System, Sega Genesis, or Atari 2600 do not appear to have what you would call an OS.
@@ZHDINC If it can boot without a game inserted then it has an OS. Most consoles use some form of a hypervisor OS with virtual machines or containers for the games and other features, this containerization just allows the game publisher to select their own set of dependancies without complications from interactions with other games or updates to the hypervisor OS. (This is a very high level view, there are numerous ways to implement this container/VM concept.)
Long ago (1950s and early 1960s) when memory was $1 per bit(bytes hadn't been invented yet), there were batch managers which were like primordial operating systems used to load, start, interupt, and unload bare-metal programs, but they couldn't do much else. Before batch managers a single program would be physically loaded on a computer by a technician inserting card decks, tapes, wiring plug boards, and and setting switches at each step. Both manual loading and batch-monitor systems were limited to exactly one running program at a time: it starts, churns out some printed results, and ends. Even on later batch machines that could interupt and switch between two programs for more efficient utilization, the two programs were entirely seporate stand alone bare metal processes that did not interact and only one was loaded at a given moment. (One would be a classic batch process and the other would be somewhat interactive so it had idle time waiting for a response, the batch program could run in that idle time.)
@@ZHDINC Most major games run directly on hardware even when there is an operating system, the OS just acts as a manager to get things setup, and started, provide drivers and then standing off to the side monitoring and handling occational privileged service requests.
On a daily basis: Gentoo Linux, Debian GNU/Linux, MacOS on M2, CentOS Linux or RHEL, and TrueNAS Core (freebsd)
At home I use Fedora Workstation (Desktop) and Android (phone & tablet) and at work I use Windows 11 (laptop thin client) and various RHEL versions and copycats (such as CentOS & AlmaLinux)
The OS is what the computer runs when it isn't running applications. 😀