Why do you write a kernel?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
hgoel
Member
Member
Posts: 89
Joined: Sun Feb 09, 2014 7:11 pm
Libera.chat IRC: hgoel
Location: Within a meter of a computer

Re: Why do you write a kernel?

Post by hgoel »

I wanted to test the extents of my sanity. Turns out, the extent is pretty short
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
NunoLava1998
Member
Member
Posts: 273
Joined: Sun Oct 09, 2016 4:38 am
Libera.chat IRC: NunoLava1998

Re: Why do you write a kernel?

Post by NunoLava1998 »

don't you know
you can obviously not write a kernel and instead write a memory manager OS in Word, or the Windows language.

making fun of people that have a lot of knowledge about computers.
Developing TRIODIUM OS. Or call it Dixium if you want. It doesn't matter.

https://github.com/NunoLava1998/DixiumOS
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: Why do you write a kernel?

Post by Schol-R-LEA »

NunoLava1998 wrote:don't you know you can obviously not write a kernel and instead write a memory manager OS in Word, or the Windows language.
I know those words, but that sentence makes no sense.

NunoLava1998 wrote:making fun of people that have a lot of knowledge about computers.
Oh, I get it now! You're telling us you really are a troll after all! Huh, I guess I owe iansjack five bucks...
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Octocontrabass
Member
Member
Posts: 5587
Joined: Mon Mar 25, 2013 7:01 pm

Re: Why do you write a kernel?

Post by Octocontrabass »

Schol-R-LEA wrote:Huh, I guess I owe iansjack five bucks...
Either you edited this really quickly or I'm going nuts. (Well, I might be going nuts either way.) :P
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: Why do you write a kernel?

Post by Schol-R-LEA »

Octocontrabass wrote:
Schol-R-LEA wrote:Huh, I guess I owe iansjack five bucks...
Either you edited this really quickly or I'm going nuts. (Well, I might be going nuts either way.) :P
Yeah, I realized almost as soon as I posted it that it was Iansjack and Boris who were accusing Numa-Numa :P of being a troll, not you. In fact, I don't think you've replied to Nano-Larva at all so far, which shows better restraint than some of us, including myself.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
NunoLava1998
Member
Member
Posts: 273
Joined: Sun Oct 09, 2016 4:38 am
Libera.chat IRC: NunoLava1998

Re: Why do you write a kernel?

Post by NunoLava1998 »

Schol-R-LEA wrote:
NunoLava1998 wrote:don't you know you can obviously not write a kernel and instead write a memory manager OS in Word, or the Windows language.
I know those words, but that sentence makes no sense.

NunoLava1998 wrote:making fun of people that have a lot of knowledge about computers.
Oh, I get it now! You're telling us you really are a troll after all! Huh, I guess I owe iansjack five bucks...
I'm just very humorous. I was being sarcastic there. I'm serious now.
Developing TRIODIUM OS. Or call it Dixium if you want. It doesn't matter.

https://github.com/NunoLava1998/DixiumOS
onlyonemac
Member
Member
Posts: 1146
Joined: Sat Mar 01, 2014 2:59 pm

Re: Why do you write a kernel?

Post by onlyonemac »

Schol-R-LEA wrote:with the utter lack of foresight typical of someone in their late teens, decided "I can do better than this". It took me another ten years before I could find even a small part of the information I would need, and by the early 2000s my interest had shifted towards more experimental ideas, while I had matured enough that I realized just how ridiculous my teenaged ambitions really were.
teenager + geek = osdev noob

Wow, you learn something interesting every day. :-D
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Why do you write a kernel?

Post by Brendan »

Hi,
miaowei wrote:I want to know how did the thought arise in your heart that you should write an os kernel ?
I switched from a Commodore 64 (1 MHz CPU, 64 KiB of RAM) to a 80486 (66 MHz CPU, 8 MiB of RAM) and expected it to be awesome because it was about 100 times more powerful (and very expensive at the time). I was disappointed.

I decided the problem had to be software - more specifically, I decided most of the problem was MS-DOS and Windows 3.1.

I was experienced with 6502 assembly, and decided to learn 80x86 assembly and have a go at fixing the software problem. I headed off to the local library in search of books and borrowed what I could (which wasn't much). None of the books even mentioned protected mode.

A few years later, the Internet changed everything. For my humble OS project (a crude single-tasking real mode thing that barely worked), access to information led to scope creep. As I gained knowledge and experience it led to more scope creep. As newer technology came along (both software and hardware) it led to scope creep. Everything led to scope creep.

I wasn't just scope creep though. In the first decade or so I was mostly learning and doing it for fun, but after some early successes (nice working hobby systems) I started getting more ambitious about the project's intentions, and wondering what it would take to go beyond "nice working hobby systems". I started looking for ideas that could make it viable product, and caring about things like fault tolerance and security and future-proofing. I started trying to find/create reasons for people to (maybe, eventually, hopefully) switch from existing OSs to my OS one day. Another "nice working hobby system" just doesn't seem like progress after you've done your first few.


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply