Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk cou…
BareMetal OS: A 64-bit Operating System in only 16KiB
31–40 of 40 posts
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#32Could be useful if it did something new - support virtual apps, manage restartable/persistent state processes, something. Just another thread/memory/interrupt kernel? Why?
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#33Keep it up, I love new OSes. My dream is to write a cloud programming language that compiles high level code to a low-level kernel and deploys. I abhor waste, so efforts like this are a great start. I look forward to more!
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#34Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk cou…
You're working hard to sound old-school, but these are just random allusions. TAOCP is not especially relevant to OS programming, and translating _all_ of an OS into asm to make it "fit a lot into a small space" is just... plain... stupid...
You will make the code smaller (as compared to gcc -Os) in a few places; you will likely give yourself a hernia maintaining it, and you are likely to get considerably worse performance than a decent compiler will.
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#35Other than the academic nerdiness of minimal OSs, what is this good for? Do modern OSs cause too much overhead for certain operations?
They cause too much overhead for teaching. A minimal OS is a great way to show how one works, what the essentials are, and even what weaknesses it has.
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#36Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk cou…
TAOCP and the Lion's commentary? Edition 6 kernel into asm? Why? You're working hard to sound old-school, but these are just random allusions. TAOCP is not especially relevant to OS programming, and translating _all_ of an OS into asm to make it "fit a lot into a small space" is just... plain... stupid... You will make the code smaller (as compared to gcc -Os) in a few places; you will likely give yourself a hernia m…
There was a time when C compilers generated crappy assembly code, because that was easy for the compiler writers. That time is long past, with exceptions for a very few situations where the compiler misses a trick that a human can do.
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#37Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk cou…
The MIT guys have already created a port?/reengineering? of 6th edition, check out xv6: http://pdos.csail.mit.edu/6.828/2009/xv6-book/index.html
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#38Earlier quoted context omitted.
TAOCP and the Lion's commentary? Edition 6 kernel into asm? Why? You're working hard to sound old-school, but these are just random allusions. TAOCP is not especially relevant to OS programming, and translating _all_ of an OS into asm to make it "fit a lot into a small space" is just... plain... stupid... You will make the code smaller (as compared to gcc -Os) in a few places; you will likely give yourself a hernia m…
To expand on that: it's fun to take a look at the assembly code "gcc -O3" produces. It's absolutely wild: even after staring at it for a while, I often have no idea what clever tricks gcc used to turn the C code into that assembly code. It does a better job of making fast, compact code than I suspect I ever could. There was a time when C compilers generated crappy assembly code, because that was easy for the compiler…
However, this doesn't apply so much to OS code, which doesn't have nearly as much opportunity for micro-architectural shenanigans either way. Typically something like -Os does a good job of handling operating system style code.
Hand-coding OS asm remains a fine example of pointless tedium for the most part. There are clear places where you absolutely need asm, of course, but writing stuff in asm that can be perfectly well done in C is like cleaning out the barracks room bathroom with a toothbrush.
This was one of the early innovations of UNIX (high level language use), so there's something wildly anachronistic about this guy's suggestion. It's like suggesting that you rebuild grandpa's Studebaker so that it can be drawn by a team of horses.
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#39It's pointless until reality is not FUBAR.
God says...external heresy sentences defers Bishop confessed people sanctuary however lying beholdeth gladness rolled loads existing urgedst Every ungodlily HAVE followed false changed alloy drinking entireness
Re: BareMetal OS: A 64-bit Operating System in only 16KiB
#40Wow, from the queue presentation this OS looks even less usable than DOS (MS aka Q). Why would the CLI terminate when it runs a programme? How do you run more than one programme at once? If each core polls the run queue does that mean that it busy cycles when there is no more work to do? Won't this waste energy? (A sin in the HPC world). Does it do the same for IO? IO request completion on a slow and/or busy disk cou…
TAOCP and the Lion's commentary? Edition 6 kernel into asm? Why? You're working hard to sound old-school, but these are just random allusions. TAOCP is not especially relevant to OS programming, and translating _all_ of an OS into asm to make it "fit a lot into a small space" is just... plain... stupid... You will make the code smaller (as compared to gcc -Os) in a few places; you will likely give yourself a hernia m…