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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/20/11 17:53
Read: times


 
#180724 - Ecosystem
Responding to: ???'s previous message
Not only are there lots of tools to statically analyze C.

There are a number of tools to dynamically analyze C. For example tools that tracks the allocation of memory (or other resources), allowing memory leaks to be mapped back to the source line that did the allocation.

There are tools to document the source (like Doxygen).

There are editors that understands the syntax and can separate variables with same name in different scopes. Understanding C, they will not just manage auto-completion, but can do refactoring, where you may change the name of function parameter and the editor changes the name of all references to the parameter without touching a global variable with the same name.

There are large numbers of existing libraries to communicate with displays, or Modbus or traversing a file system.

There are tools that can (semi-)automatically generate test harnesses - extra helper functions used to exercise the individual functions in a C program.

Many of the above things can't be done with assembler because of the lack of structure, making it impossible for a computer to see all loops and make the correct assumptions about them. Many other languages can allow all of the above, but the availability is greatly affected by the number of users.

List of 23 messages in thread
TopicAuthorDate
it just struck me, is this why RTOS 'need' is so prevalent?            01/01/70 00:00      
   Two Camps Here            01/01/70 00:00      
   Best Practice            01/01/70 00:00      
   a similar discussion...            01/01/70 00:00      
      I have always maintained the belief...            01/01/70 00:00      
         "non-arbitrary" ?            01/01/70 00:00      
            "Real" Processing exposed            01/01/70 00:00      
               Too Specific            01/01/70 00:00      
               sweeping generalisation            01/01/70 00:00      
                  RTOS are very useful            01/01/70 00:00      
                     I think this got away ...            01/01/70 00:00      
                        Blocking/nonblocking I/O            01/01/70 00:00      
                        Not The only reason            01/01/70 00:00      
                  I considered developer effort            01/01/70 00:00      
                     code generator            01/01/70 00:00      
                        Another neat feature            01/01/70 00:00      
                           there is such an attachment ...            01/01/70 00:00      
                           Lots of tools available            01/01/70 00:00      
                              not really            01/01/70 00:00      
                           Lots of C tools            01/01/70 00:00      
                              widespread            01/01/70 00:00      
                                 Missed the point!            01/01/70 00:00      
                                    Ecosystem            01/01/70 00:00      

Back to Subject List