[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080331055618.GC23796@1wt.eu>
Date: Mon, 31 Mar 2008 07:56:18 +0200
From: Willy Tarreau <w@....eu>
To: Peter Teoh <htmldeveloper@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernelnewbies <kernelnewbies@...linux.org>
Subject: Re: RFC: Writing Solaris Device Drivers in Java
On Mon, Mar 31, 2008 at 10:14:55AM +0800, Peter Teoh wrote:
> Interesting read:
>
> http://research.sun.com/techrep/2006/smli_tr-2006-156.pdf
>
> Personal comments:
>
> Since KVM and Xen/OpenVZ etc other virtual machines are beginning to pop
> up - I don't see why it inhibits (in spite of the many initial
> difficulties as mentioned in the paper) the growth of using Java for
> device drivers development. Contrast it against udev - esp in terms of
> usability/supportability/extensibility etc. udev is a Linux thing,
> whereas Java is at industry level. If everyone write applications
> device drivers using Java (minus the extreme hardware arch specific
> stuff, but supports all the low level protocol specific stuff like
> TCP/IP, NFS, USB etc) then I think it has potential to compete against C
> lang - the monopolizer till today in the kernel world
> (Windows/MacOS/Linux/BSD etc). Ie, imagine using a drivers written for
> the Solaris in Linux, won't it be cool?
Oh fantastic! That way, we could have drivers which eat 1Gig of RAM for
almost nothing. Also, my experience with Java developers shows that what
Java really is is a way to lower the entry level in the development world.
That way, you can have completely incompetent people write complex
applications without even thinking that it will run on a real machine.
Most often, if it works in their IDE, they think it's OK to deploy (not
mentioning the fact that RFC compliance is far from being a problem in
these people's work). Of course, there are still real coders using this
language, and they may do great things (when the frameworks permit).
When you see salesmen announcing that their app will require about
400 GHz of CPU and half a TB of RAM to run, and noone even cares,
you understand there's a big problem with the way things are written
(the app that one was supposed to replace could run on 2 GHz of CPU
and 4 GB of RAM in the C version).
So please keep these technologies for sucking your nearby powerplant's
power and justifying your boss that you need a monster machine which
would make HPC people jealous, but I would hate it to make it easier
for the people I described above to pollute the kernel with their crap.
Willy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists