News for hackers. Stuff that matters.
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by kergonath on Thursday December 19, 2024 @01:52AM (#42459081)
That’s a weird comment. Node.js is a stack that works on top of an OS. If you could just plop it on a SD card and boot a computer with it, it would be a OS. Things like DOS or MacOS 9 were definitely operating systems. There is no reason to restrict the term to those with preemptive multitasking.
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by TickleSteve on Thursday December 19, 2024 @02:33AM (#42459289)
"OS" in this context means "scheduler", i.e the code that coordinates your application tasks. That description can also apply to VMs such as JS, hence the comparison.

You could consider this type of library OS even more tightly bound to the application than your typical JS app as its actually linked to the user code.

Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by msh on Thursday December 19, 2024 @04:18AM (#42459785)
A scheduler is part of a OS, but a scheduler alone does not make a OS.
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by TickleSteve on Thursday December 19, 2024 @07:48AM (#42460937)
"Operating Systems" for microcontrollers such as this are frequently just schedulers as the Application typically contains drivers and hits the hardware itself. e.g. FreeRTOS.
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by crest on Thursday December 19, 2024 @02:40PM (#42464994)
Even those implement communication primitives e.g. locks, semaphores, mailboxes, etc. as part of the OS. Some of the larger ones also define a driver model of sorts (which often just codifies the structure of the first driver for that type of peripheral e.g. USB, Ethernet, CAN, I2C, SPI, GPIO).
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by vrighter on Thursday December 19, 2024 @07:41AM (#42460895)
And the scheduler decides which thread gets to run next. On a cooperative multitasking system, guess what the OS code you jump to when you yield from a thread does, and what it's called?
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by TickleSteve on Thursday December 19, 2024 @07:50AM (#42460948)
That was my point.
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by vrighter on Thursday December 19, 2024 @08:09AM (#42461075)
replied to the wrong coment, sorry
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by MisterTea on Thursday December 19, 2024 @11:13AM (#42462862)
What context are we talking about here?
Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by kergonath on Thursday December 19, 2024 @11:40AM (#42463173)
> "OS" in this context means "scheduler", i.e the code that coordinates your application tasks

If you define the context to mean it and then assume that everyone agrees with your implicit context, then maybe. In reality, OS and schedulers are not the same thing.

It’s also a leap from the “MacOS 9 was not an OS” GP position.

Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by rvense on Thursday December 19, 2024 @03:33PM (#42465434)
> It’s also a leap from the “MacOS 9 was not an OS” GP position.

That wouldn't be the first time I've heard that statement, even among classic Mac enthusiasts.

Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by kergonath on Thursday December 19, 2024 @06:12PM (#42466712)
Then surely there are instances of people saying that it is “not an OS”. And I don’t mean hyperbole.

Here are 3 definitions from 3 different sources: https://www.wordnik.com/words/operating%20system . Not a single one even mentions process scheduling or anything to exclude MULTICS, CP/M, DOS, or any version of MacOS or Windows. I know that some people think that being contrarian on HN is cool, but this is beyond ridiculous.

Re:Piccolo OS, a Small Multitasking OS for the Raspberry Pi ... by 0x457 on Thursday December 19, 2024 @02:28PM (#42464880)
> "OS" in this context means "scheduler",

That's essentially what OS is: some bootstrap, scheduler and some APIs for developers and some drivers.