Is this idea reasonable?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
Lionel
Member
Member
Posts: 117
Joined: Fri Jul 16, 2010 2:16 pm
Libera.chat IRC: ryanel
Location: California

Is this idea reasonable?

Post by Lionel »

Hello OS-Devers,
I was sitting on my bed yesterday, and I had a idea for a new kind of kernel.
For now, I'll call it a Objective Kernel. A Objective Kernel is based on Objects, which have a semi-numerical and named identifier. The kernel would manage objects inputted by a function(maybe Kernel::Objects::register();) ,and would treat them as data and a function table. Applications could reference the data and functions. So, is this idea reasonable?
-Lionel
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Is this idea reasonable?

Post by Combuster »

What I see are some vague implementation details resembling Microsoft's COM interfaces. Such a design can indeed be pulled over the system call boundary and is known to work, but will probably be rather tricky to set up initially.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Lionel
Member
Member
Posts: 117
Joined: Fri Jul 16, 2010 2:16 pm
Libera.chat IRC: ryanel
Location: California

Re: Is this idea reasonable?

Post by Lionel »

Wow, I never thought about it being similar to COM. As for the implementation, Objective Kernels put everything into objects unlike Berkus'. For instance, the timer would be a object. On the downside, object using programs will be difficult to port.
User avatar
Lionel
Member
Member
Posts: 117
Joined: Fri Jul 16, 2010 2:16 pm
Libera.chat IRC: ryanel
Location: California

Re: Is this idea reasonable?

Post by Lionel »

Oh sorry berkus, It was late when I was on here and I didn't recognize the similarities. Anyway, my kernel will be a full objective kernel, so if anyone want to look at the source code, I'll set a git repo in a few days.
Post Reply