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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/12 18:02
Read: times


 
#185950 - Ratio?
Responding to: ???'s previous message
Erik Malund said:
let us say that the time to develop in C will be 200 Hours
let us say that the time to develop in assembler will be 400 Hours

2:1 - are you sure??

The criticism that 'C' compiler output is "inefficient" is usually illustrated by taking a microscopic look at some fragment - representing 1 or 2 lines of 'C' - and showing how hand-written assembler could have saved a couple of bytes.

There are situations where it is appropriate scrutinise a critical piece of code in the minutest details to wring every last drop of performance from it.

However, to apply the same level of scrutiny to an entire project would make the C/Assembler development time ratio more like 20:1 than 2:1.

This is why it's usually best to write most of the code in 'C' and reserve the assembler for those areas where it's really critical.

List of 61 messages in thread
TopicAuthorDate
Which modern small 8051 should I use?            01/01/70 00:00      
   addition            01/01/70 00:00      
      contradicting yourself.            01/01/70 00:00      
      Get on with SiLabs            01/01/70 00:00      
         Thanks for all of your input!            01/01/70 00:00      
            power miser            01/01/70 00:00      
               Re: Power Miser            01/01/70 00:00      
            Still Need the SiLabs Adapter            01/01/70 00:00      
      Why?            01/01/70 00:00      
   RE: 8-bit 8051            01/01/70 00:00      
      SiLabs is sometimes a bit slow ...            01/01/70 00:00      
         RE: "slow"?            01/01/70 00:00      
            Well ... It might have been coincidental ...            01/01/70 00:00      
   AT89S2051/4051 or ATLP2052/4052            01/01/70 00:00      
      and lose all the goodies            01/01/70 00:00      
         Onewire debug?            01/01/70 00:00      
            tradeoffs            01/01/70 00:00      
               Is a hobbyist not extremely likely to gain            01/01/70 00:00      
                  JTAG            01/01/70 00:00      
                     cost to debug            01/01/70 00:00      
                        cost of AVR debugging "dongle"            01/01/70 00:00      
                  You have to ask yourself ...            01/01/70 00:00      
                     Beginners have even more reason for debug cells, i.e. ICE            01/01/70 00:00      
                     WHAT, exactly, is a hobbyist likely to gain from built-in de            01/01/70 00:00      
                        I still think it 6 one way and half-a-dozen the other            01/01/70 00:00      
                           why go old fashioned            01/01/70 00:00      
                              Where you sit determines what you see.            01/01/70 00:00      
                     exactly this            01/01/70 00:00      
                        Those are all things the monitor allows            01/01/70 00:00      
                           please explain how the monitor allows ...            01/01/70 00:00      
                              Monitors really not good choice for new designs/developers            01/01/70 00:00      
                                 Describing Richards preferences            01/01/70 00:00      
                              It doesn't help with 'C' code at all            01/01/70 00:00      
                                 maybe not using that word            01/01/70 00:00      
                     "Small" 8051            01/01/70 00:00      
                        RE: "Small" 8051            01/01/70 00:00      
                        Productivity/quality really important for hobbyists too            01/01/70 00:00      
                        the calculation            01/01/70 00:00      
                           True cost comes in maintainance            01/01/70 00:00      
                              I totally agree, however            01/01/70 00:00      
                           Ratio?            01/01/70 00:00      
                              all numbers are arbitrary            01/01/70 00:00      
                                 but it's good to be ...            01/01/70 00:00      
                                    Not needed            01/01/70 00:00      
                              A couple of things ...            01/01/70 00:00      
                                 RE: A couple of things ...            01/01/70 00:00      
                                 neither does a SILabs toolstick            01/01/70 00:00      
                                    Starting out, the old-reliable antiques are very easy            01/01/70 00:00      
                                       Wrong conceptual level for majority of needs            01/01/70 00:00      
                                       only somewhat true            01/01/70 00:00      
                        First, Define Icc and Code Size Targets            01/01/70 00:00      
                           It's more complicated than that            01/01/70 00:00      
                           that is not enough            01/01/70 00:00      
                              that is not enough            01/01/70 00:00      
                                 which was what I posted            01/01/70 00:00      
                                    ROFL            01/01/70 00:00      
                                    Not a simple formula!            01/01/70 00:00      
                  power            01/01/70 00:00      
                     OCD != Emulation            01/01/70 00:00      
               the particular hobbyist in question            01/01/70 00:00      
                  It does allow him to maintain separation from the hardware            01/01/70 00:00      

Back to Subject List