Related Articles

2 users responded in this post

Subscribe to this post comment rss or trackback url
User Gravatar
Stephen said in January 3rd, 2008 at 3:24 pm

When Java came out, it benchmarked about about 300x slower than C. Performance has improved dramatically since then. Current systems (just in time compiling, and such) benchmark at about 3x slower than C. My guess is that runtime checking of variable types would make it impossible to have reasonable performance. Given that settop java boxes and other embedded applications were envisioned, performance like this had to have been a goal.

So, what was the design goal for Java? I think Gosling wanted a programming language with garbage collection to eliminate memory management bugs, provides objects to get small scopes for variables, provide a namespace collision strategy that always works, in a package that is small enough to work anywhere. In my opinion, only this last bit – small was a total failure.

User Gravatar
craig said in January 4th, 2008 at 9:54 am

That may very well be it. I hadn’t thought of the run-time type checking penalty.