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
Is this idea reasonable?
- Combuster
- 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?
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.
- Lionel
- Member
- Posts: 117
- Joined: Fri Jul 16, 2010 2:16 pm
- Libera.chat IRC: ryanel
- Location: California
Re: Is this idea reasonable?
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.
- Lionel
- Member
- Posts: 117
- Joined: Fri Jul 16, 2010 2:16 pm
- Libera.chat IRC: ryanel
- Location: California
Re: Is this idea reasonable?
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.