Anyone thinking of restarting their OS? Starting afresh?

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

Hi JamesM,

My OS rewrite (Mattise) is going to be in complete C++ and will abstract all lower-level code into classes (I love polymorphism) so that the OS can be shifted to a new platform by simply modifying a set of low-level routines.

Not to impose any ideas on you guys or anything, but I really think that that's a good plan for any OS written in C++ as long as you do have a good knowledge of polymorphism and classes in C++ and have worked with C++ in a non-hosted environment (like an OS).
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post by bluecode »

pcmattman wrote:My OS rewrite (Mattise) is going to be in complete C++ and will abstract all lower-level code into classes (I love polymorphism) so that the OS can be shifted to a new platform by simply modifying a set of low-level routines.
That's also our plan. I will add my interface design (I was put in charge of some initial design) to the project's wiki for you (if you want to) and the others (you don't get a choice :lol: ) to criticize.

Providing an abstract interface is always a good idea and is not really a language choice. You can do the same thing in C. The abstraction just consists of structures + functions instead of classes. I think C++ here just adds syntactic sugar and makes automatic documentation generation easier.
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

pcmattman wrote:Hi JamesM,
Not to impose any ideas on you guys or anything, but I really think that that's a good plan for any OS written in C++ as long as you do have a good knowledge of polymorphism and classes in C++ and have worked with C++ in a non-hosted environment (like an OS).
Why not also use the bridge and abstract factory design patterns. Then you can switch drivers, and probably if designed correctly parts of the kernel, runtrime. This is a theory ofcourse but could work.
Author of COBOS
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

os64dev wrote:
pcmattman wrote:Hi JamesM,
Not to impose any ideas on you guys or anything, but I really think that that's a good plan for any OS written in C++ as long as you do have a good knowledge of polymorphism and classes in C++ and have worked with C++ in a non-hosted environment (like an OS).
Why not also use the bridge and abstract factory design patterns. Then you can switch drivers, and probably if designed correctly parts of the kernel, runtrime. This is a theory ofcourse but could work.
Sounds like a good plan. Incidentally I've never been too much of an abstract class factory fan - it smacks of Java to me :shock:
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post by bluecode »

We are four now (JamesM, Tyler-Osdev, pcmattman and myself) and agreed that we do not consider any other "applications" at this point in time. That is because if we would we end up discussing everything and don't get anything done. After a few releases we would really appreciate help from others.
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Post by ucosty »

I'll be happy to do the peanut gallery thing.
The cake is a lie | rackbits.com
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

id love to help out when it gets off the ground, i'm not the most experienced person here, but my kernel atleast has got past Hello World status (for the first attempt, and the rewrite).

If you need any help or testing id be moe than happy...
~ Lukem95 [ Cake ]
Release: 0.08b
Image
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Good luck, guys - I look forward to seeing the results.

Cheers,
Adam
Post Reply