Ex-Microsoftie: Free Software Will Kill Redmond (ComputerWorld)
Ex-Microsoftie: Free Software Will Kill Redmond (ComputerWorld)
Posted May 24, 2009 19:42 UTC (Sun) by shmget (guest, #58347)In reply to: Ex-Microsoftie: Free Software Will Kill Redmond (ComputerWorld) by nix
Parent article: Ex-Microsoftie: Free Software Will Kill Redmond (ComputerWorld)
Yes it is.
As a reader of LWN, you surely are aware of the occasional 'dispute' between kernel and gcc, mostly about what is generated by gcc and when.
Kernel programming has some very specific need that are quite irrelevant for user-space programming, but the runtime of C# or Java is rightfully designed with user-space in mind....
So essentially, the only way I could see that working, would be to have a extreme micro-kernel design, whith most of the kernel pushed in user-space. in which case you could envision that only the fundamental core of the micro-kernel is in C/assembler, and the rest in ... something else.
But at that point that would not be 'what we think of linux' anymore.
Maybe, one day, micro-kernel will get out of the research labs, and become practical in real-life... But again, Tanenbaum famously claimed that Linux design was obsolete... in January 1992. 17 years later and the obsolete Linux is alive and kicking, while micro-kernels are still PhDs' pet projects.
Another argument against GC is that someone that is too lazy or too stupid to be bothered with what a pointer is, should stay away from the kernel.
In user-space I've seen modules, in C, that were operating in O(n), being re-implemented in Java and ending-up in O(n^2) because the Java developer had no idea of the consequences of his disregard for memory management issues. (note: I believe that Java bad performance reputation is not so much an inherent problem with Java itself, but mostly due to brain-dead programmer. Java's fault is to make it so easy to hide the crap under the GC carpet.)
