Originally posted by Ansla
View Post
Announcement
Collapse
No announcement yet.
Indian Developers Redesigning Linux Kernel With OOP, C++ Support
Collapse
X
-
-
Originally posted by Luke_Wolf View PostActually VMed languages are really interesting for microkernel based designs, because this allows you to rely on software memory protection instead of hardware and thus allows you to avoid the context switch between user-space and kernel-space, which means that a VMed language microkernel design could in principle actually run faster than one that is not written in a VMed language
Comment
-
Originally posted by gens View Postactually it has, kmalloc
it's still not that simple, the memory management
another fun fact it that there are 3 types of pointers used in the linux kernel
more on that in http://lwn.net/Kernel/LDD3/
funny thing that OOP is not a well defined term at all
Also, kmalloc doesn't really work as drop in replacement for malloc.
While it would be possible to use _some_ C++ OOP features in kernel, many would not work (without serious changes to Linux codebase).
I think that FAQ on linux.org sums up all the reasons quite nicely (albeit it was written like a decade ago).
Comment
-
Originally posted by asavah View PostOne of stupidest things I ever read.
Run kernel on Java or C#? WTF you were smoking?
What about VMs those 2 languages need to run?
One by Oracle and another one by MS.
Should we embed jre + mono into kernel to run modules?
Or should we run kernel modules with userspace runtimes?
[sarcasm] Excellent idea for the linux kernel. [/sarcasm]
Comment
-
Originally posted by mmstick View PostWhy not Rust? The API isn't stable yet, but it will be soon.
Comment
-
-
Originally posted by Svartalf View PostEven if it's a decade ago, if you've not got the bits and bobs there to make it happen now, it's no different from then.
Comment
Comment