Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/16/07 15:32
Read: times


 
#133131 - Different worlds
Responding to: ???'s previous message
Erik Malund said:
Java ... It can be made to work, and then it works well.

I can not tell how many times my definition of "works well" has been different from the developers. That a program gives the correct result of 2*2 is not very impressive if I have to wait an hour for the answer, but the devloper (if he is like most 'advanced programming method' guys) will still claim that it "works well".

Erik


Erik,


MCU people count clock cycles and bytes. A fast clock is 100Mhz. Wire busses rule the roost. You probably have a ~1Ghz PC on your desk to do development with, a few hundred mb of RAM, half of which is used by Windows, and a single slow disk. When you type "make", your build is done before you can reach for your coffee cup, and that's just how you like it.


At work, my smaller systems have 2 - 4 3Ghz CPU's and 4Gb of memory, and a 12 drive array. The larger ones.... 8 core 32-hyperthread CPU's, 32+ Gb of memory with packetized 288-bit wide crossbar interconnects, and a 4Tb FC/AL smart RAID array with multiple controllers, each of which is more powerful than your desktop. We have 100+ CPU monsters, but I haven't found a use for them. My product has an automated daily build schedule, the compiler time alone is several hours on distributed machines.


Needless to say... Your version of "works well" and mine are somewhat different, and in general there's a substantial difference between your mindset and my mindset when thinking about performance. I'm here in part because I want to understand and keep in touch with your mindset, and apply the gems of wisdom to my space. That, and these little '51's are loads of fun. :-)


The reality is, most user's experience isn't tainted by either of these extremes.


So why doesn't your compiler pre-calculate 2*2 and store it as a constant? :-)


Rob


List of 27 messages in thread
TopicAuthorDate
A third way?            01/01/70 00:00      
   NO!!! That's WAY too slow!            01/01/70 00:00      
   Do you not remember that on out old 10MHz PCs thin            01/01/70 00:00      
      this exactly right            01/01/70 00:00      
         Jez, re "elegant code"            01/01/70 00:00      
      Actually            01/01/70 00:00      
         I was cauteous            01/01/70 00:00      
            Our code has to be elegant            01/01/70 00:00      
   What about ...            01/01/70 00:00      
   Fine with me            01/01/70 00:00      
      Try NetBeans            01/01/70 00:00      
         NetBeans            01/01/70 00:00      
      Really?            01/01/70 00:00      
         I've observed that, too ... How do they do it?            01/01/70 00:00      
         Oh, you have managed to port it :)            01/01/70 00:00      
         And..???            01/01/70 00:00      
            and fast too?            01/01/70 00:00      
               Different worlds            01/01/70 00:00      
                  "buy a faster PC"            01/01/70 00:00      
                     Buying faster PC... by the time it's finished...            01/01/70 00:00      
                     Yep.            01/01/70 00:00      
                        developers idiotic attitude that everyone else            01/01/70 00:00      
                        the way to do it ...            01/01/70 00:00      
                           would the above not make the usual            01/01/70 00:00      
                              It would make 'em anxious to get the job done            01/01/70 00:00      
            what?            01/01/70 00:00      
               No!            01/01/70 00:00      

Back to Subject List