[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Does there exist a purely functional operating system without I/O?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 24
Thread images: 1

File: 1474614740669.png (194KB, 500x500px) Image search: [Google]
1474614740669.png
194KB, 500x500px
Does there exist a purely functional operating system without I/O?
>>
>>59376037
>without I/O
wouldn't that defy the point of an OS?
or really, any program
>>
>>59376060
Recreation.
You can't spell functional without fun :^)
>>
>>59376037
Why do you keep making these nonsense threads?
Fuck off already
>>
we couldn't know either way because we couldn't interact with it
>>
>>59376066
i'm not sure you understand what "no I/O" would mean

the program might as well do nothing

it would only be able to work on pre-defined data, and it would be unable to output any results, making it worthless
>>
>>59376075
Such an OS would emphasize its own recreational nature. With no I/O, it's unmistakably clear that the sole purpose is having fun writing it, not being "used".

>>59376092
The program could calculate Pi, but never print it, store it on disk, or transmit it over the network.
>>
>>59376092
>worthless
to users, not to the developers, who are having fun conceiving it. That's the point and purpose.
>>
The OS scheduler would have to maintain an idle process that keeps all CPU cores at 100% usage to prevent programs from using CPU temperature as a form of output.
>>
If that's fun to you up you need to kys
>>
>>59376103
storing or transmitting is already output, dummy
>>
>>59376037
It exists.
"If a tree falls in a forest and no one is around to hear it, does it make a sound?"
>>
>>59377050
>reading comprehension
>semantics
never (print it, store it on disk, or transmit it over the network)
>>
>>59377293
in this case, the developer set up an automatic timed chainsaw, then flew far away, so he knows that the tree, in fact, fell
>>
>>59376037
Then you wouldn't know it exists because you can't observe its outputs.
>>
>>59376037
If it takes no input and produces no output, how can you tell it's even running at all? You won't be getting any feedback whatsoever. Where do you even draw the line when it comes to input? If it's unable to even read hardware states then it can't function as an OS in any capacity.
>>
>>59379141
>Then you wouldn't know it exists because you can't observe its outputs.
Developers can deduce the system's function by pure logic. It actually does run. You just need to write correct programs for it. There is no debugger.
>>
>>59379153
For the sake of nitpicking, define I/O as anything outside of the computer, that can be interacted with by humans (screen, sound, peripherals, ...) or other computers (network, serial port).

I'd count CPU temperature as I/O, so the operating system must neither read it (the user could apply nitrogen to the CPU as a form of input) or change it (the user could design a program that puts load on the CPU in morse code patterns). Of course there is no perfect system because of high-frequency emissions.

User programs will have to be compiled into the operating system statically of course.

Users = developers.

But it can have many programs, properly scheduled on multiple cores and so on.
>>
>>59379202
So it's basically a firmware.
>>
>>59376037
Yes, here you go!

loop: nop
b loop
>>
>>59379139
No he doesn't.
>>
>>59376037
it's called a firmware
>>
>>59379407
Firmware typically controls physical hardware.
Take a remote control firmware. It uses buttons as input and an IR LED as output.
>>
>>59380302
True.
A software kernel however could be formally verified and mathematically proven though.
You could write it in something like Coq.
https://en.wikipedia.org/wiki/Coq

or if you feel like cheating a little, use I/O in the debug build and remove it in the release
Thread posts: 24
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.