OTOH, I see heaps and heaps of Java. I don't know what kind of app you are working on, but we're running
server-side Java on PII 600s under Windows
Most of the code I see are educational programming projects and Linux kernel code so I'm a little biased. I like to play with device drivers, but I can't say that I've written anything impressive.
Another poster stated that Microsoft Office and IIS are written in C/C++. I very conservatively estimate that 95% of the binaries on a typical Windows NT system are written in C/C++. Now, on a Windows NT workstation that's easy for me to reach, there are about 2050 EXEs, DLLs, and VXDs on the local drive. This sums to to around 350mb of binaries. Big applications like Microsoft Office, Workview Office, and the like are remote-mounted from the server and weren't counted here.
My experience on Linux machines is that the C/C++ source code is ALWAYS bigger than the binary. YMMV on Windows as I don't remember the dark mountain-dew enhanced nights coding-nights of my freshman year very well. Either way, that's a LOT of C/C++ code.
Ok, so supposing that someone has 100k lines worth of code written and working nicely in Java. I consider that "not used very much". Depengind on what you're doing, the Java code may be the crown jewel of the system, but it still ain't much by weight.
Also, I'm pretty sure that a lot of the Java class library (right term?) is implimented through the JNI. (Although not absoultely certain). At least the system calls have to get out of the JVM somehow, and the GUI libraries have to be fast AND call non-kernel level APIs like the win32 api and xlib (or motif or gtk?). Guess what that means - C/C++ code!
Of course, this analysis is highly biased towards system programming. If, for instance, you select all code that generates web pages, the picture will probably change substantially -- to something like 50% Java code, depending on how you think of your webserver and your OS.
[ Parent ]