home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 836 of 2,753   
   glen herrmannsfeldt to fermineutron   
   Re: Languages of multiple abstaction   
   05 Nov 06 23:35:08   
   
   From: gah@ugcs.caltech.edu   
      
   fermineutron wrote:   
      
   (snip)   
      
   > Also, most pepole would admit that Java is slower than C, so since its   
   > slower than C, yet there is no fundamental restriction of speed based   
   > on the level of abstaraction, how come it has not beeen re-optimized   
   > to match C? Sun definitely got the resources for it.   
      
   Java is actually pretty fast.   
      
   One of the slowest things to do in any language is memory allocation   
   and deallocation.  Object oriented programming tends to do more   
   allocate/deallocate than non-OO, though it is more a programming style   
   than a language.   
      
   If you avoid excessive object creation/destruction in the inner   
   loop Java is likely fast enough.   
      
   -- glen   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca