glm wrote and a java program due to the extensive class libraries will weigh in at NUMBER the number of lines of the equivalent c program qed quod erat not demonstrandum at all there are massive amounts of libraries for c fortran and so on to pick an obvious example if you want to do linear algebra then java isn t a serious candidate at all furthermore plenty of bugs occur in the libraries too at a lower rate due to more users having been bitten by them but they are much harder for you to fix than in your own code why do so many people outside of sun s marketing department consider java to be write once debug everywhere r 