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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/09/09 14:41
Read: times


 
#168276 - I have to agree ... evaluation takes time ...
Responding to: ???'s previous message
Erik Malund said:
R:So far, it's been much easier to use ASM, specifically a macroassembler, with my library of macros, which I understand well enough to equal the comparable intrinsics of any compiler, and, as a result, I know the generated code is as fast and as dense as I require.
E:Finally the cat came out of the bag
R:As for the cat ... I have no idea what you mean
you "understand well enough" the above and do not, and have no intention of getting to "understand well enough" C etc.

Yes, I know what my macros do, how much code they contribute, how much time they require, and, since that's the case, and I already have them on hand, there's no need for a compiler.
That may be so, but why do you then argue with those that do have a need for a compiler

I'd take a look at a compiler if there were a reasonable way to evaluate it. That doesn't guarantee I'd buy it, though. It would have to be advantageous in some meaningful way for me to buy one.

T.T.T. and you do not want to. If it (as it did for me) takes a long time to get "up to speed" in C before the advantages shine, then, of course it is easy for you to just say "this is not worth it"

I'd take a look at a compiler if there were a reasonable way to evaluate it. The snake bites its tail here, if you are not fluent in C (i.e. have worked for years with 'some' compiler) you can not evaluate. Another issue here is that 'getting fluent' in C is almost impossible on a micro, it is many times faster on a PC, which is why I always recommend learning C (using Kochans book) on a PC before even writing the first C line for a micro.

Erik

T.T.T.
Put up in a place
where it's easy to see
the cryptic admonishment
T.T.T.
When you feel how depressingly
slowly you climb,
it's well to remember that
Things Take Time

Piet Hein


You've guessed wrong as to my use of 'C'. I use it on the PC whenever necessary. I don't write much on the PC in ASM, though I do write short test fixture exercises in ASM. The stuff that talks to hardware is nearly always in ASM, but that's easily rolled in to a 'C' program.

I don't believe I'll understand the functions provided by a compiler until I've thrashed 'em quite a bit. That's one thing that takes time. What I would consider a substantial evaluation is regeneration of an entire completed project's firmware, already written in some language, and satisfactorily funcitonal, in that it meets all requirements as witnessed by passing all acceptance testing. If the result successfully meets those tests, that's step 1. If it is not substantially larger, that's step 2. If it is not substantially slower, that's step 3. If it's significantly quicker generating the HLL source, that's a plus. If it's significantly quicker verifying the code, that's a plus, though that's not easy to verify on an already-proven project. This, of course, says nothing about the simulator and other features of the compiler, depending on what features it purports to provide.

If the doc's were adequate, and one could adequately evaluate a compiler, no matter what the HLL, the first thing I would do is to verify that the documentation accurately reflects what the software is does as observable from the user's viewpoint. If that fails in any way, I'd stop. Then I'd have to try a considerable number of different application techniques to determine whether they work adequately, particularly the interaction between HLL and ASM functions. That's where regenerating an already-proven project comes in. I'd probably have to make it a fairly large one, or, perhaps, several of them just to "cover all the bases" as far as techniques are concerned.

Then, of course, I'd have to examine the debugger and the simulator, if there is one. If it covers the MCU types in which I'm interested, I'd consider it, and if not, well ... then I wouldn't. If they want me to pay for a simulator, then it has to simulate the parts I want to use. I'm certainly not going to pay for one I can't use or won't because of lack of device support.

Frankly, if someone actually produced a stand-alone simulator for the 805x core with a library of MCU-specifics, one that could simulate interactions with external hardware, particularly scheduled interrupts, I'd consider it as a standalone product. I've even considered, at times, writing one myself, but I don't use 805x much ... Only when I'm working follow-on for stuff done in the late-'70's and early '80's on client-specified hardware ... aside from my "mental masturbation" projects of more recent vintage.

After all, I believe that all these "RESET" problems are really power supply issues, among other things, hence, I can't get to the bottom of that if I completely ignore 805x.

RE







List of 131 messages in thread
TopicAuthorDate
Article: "Real engineers program in C"            01/01/70 00:00      
   C and Latin            01/01/70 00:00      
      similarities between English and C            01/01/70 00:00      
         all sorts of similarities            01/01/70 00:00      
      NOT engineers.....            01/01/70 00:00      
         I think that was his point?            01/01/70 00:00      
            I know            01/01/70 00:00      
               I also don't know if his diagram on Page 3 is right            01/01/70 00:00      
   fewer ASM developers            01/01/70 00:00      
   languages            01/01/70 00:00      
   Muscle Vs Fat            01/01/70 00:00      
      apples vs bears            01/01/70 00:00      
         Wait a minute, pilgrim!            01/01/70 00:00      
            pilgrim has arrived            01/01/70 00:00      
            Break out that DOS Computer            01/01/70 00:00      
               I do that quite often!            01/01/70 00:00      
            blame drivers            01/01/70 00:00      
               Equip them right and they seem to work ... sort-of            01/01/70 00:00      
                  Engineers and Marketing guys            01/01/70 00:00      
            jeeziz x kryst            01/01/70 00:00      
               So ... Why do you do all that?            01/01/70 00:00      
                  wrong choice of word            01/01/70 00:00      
                     It's just a millstone ...            01/01/70 00:00      
                  re: why?            01/01/70 00:00      
      My computer _boots_ faster than that.            01/01/70 00:00      
         DMA?            01/01/70 00:00      
      Maybe it's the amount of memory            01/01/70 00:00      
         The cost of mutlitasking..            01/01/70 00:00      
         haven't any time to waste            01/01/70 00:00      
            That would be too slow!            01/01/70 00:00      
               I see no ships!            01/01/70 00:00      
               Isn't 4k plenty for a '51?            01/01/70 00:00      
                  which '51 does have that?            01/01/70 00:00      
                     Erik would call those "deviates".            01/01/70 00:00      
                        nope            01/01/70 00:00      
                        pipelines, cars, and real engineers            01/01/70 00:00      
                           It's also pipelined.            01/01/70 00:00      
                              then it's irrelevant            01/01/70 00:00      
                  If you can ignore those features            01/01/70 00:00      
               keeping up            01/01/70 00:00      
                  I feel your pain ...            01/01/70 00:00      
                     Don't see problems - see possibilities            01/01/70 00:00      
                        Do you really want to hide from reality?            01/01/70 00:00      
                           Always hiding behind excuses            01/01/70 00:00      
                              What excuses?            01/01/70 00:00      
                                 Your excuses            01/01/70 00:00      
                                    Do you directly or indirectly work for Keil?            01/01/70 00:00      
                                       BULL!!            01/01/70 00:00      
                                          I don't harbor any animosity, but I don't like being lied-to            01/01/70 00:00      
                                             you "understand well enough"            01/01/70 00:00      
                                                I have to agree ... evaluation takes time ...            01/01/70 00:00      
                                                   this is where I think I'm the realist            01/01/70 00:00      
                                                      If only the pieces were separately available ...            01/01/70 00:00      
                                                         I can't and would never            01/01/70 00:00      
                                                            So ... Who's a simulator specialist?            01/01/70 00:00      
                                                               don't know, don't care            01/01/70 00:00      
                                                                  So why even mention it?            01/01/70 00:00      
                                                                     because someone (you?) brought it up            01/01/70 00:00      
                                       Tangential Richard at work            01/01/70 00:00      
                           the pot calling the kettle black            01/01/70 00:00      
                     that's the crux            01/01/70 00:00      
                        It's a matter of realism            01/01/70 00:00      
                           well, if you do not have the time to evaluate, your points            01/01/70 00:00      
                              I have to disagree ...            01/01/70 00:00      
                                 no need            01/01/70 00:00      
                                    That would be an ideal fix!            01/01/70 00:00      
                  no way            01/01/70 00:00      
                     but only if we both define a project            01/01/70 00:00      
                        oh, that's no proof then...            01/01/70 00:00      
                           It would be a nice idea, but how would you time it?            01/01/70 00:00      
                           you did not read what I said            01/01/70 00:00      
                              implication and how to challenge it            01/01/70 00:00      
                                 disassembly            01/01/70 00:00      
                                    Encryption module?            01/01/70 00:00      
                                    not at all            01/01/70 00:00      
                                       It's clear to see that some folks really like 'C'            01/01/70 00:00      
                                          can you only like one thing?            01/01/70 00:00      
                                             Yes, but ...            01/01/70 00:00      
                                                you can boil steak too            01/01/70 00:00      
                                                   but you don't have to do that            01/01/70 00:00      
                                                      but you just said            01/01/70 00:00      
                                       no praise, just not hate            01/01/70 00:00      
                                          That makes sense            01/01/70 00:00      
                                          not that claim            01/01/70 00:00      
                                             again you miss 'usually', 'mostly', 'often', etc            01/01/70 00:00      
                                                Not so ... exactly            01/01/70 00:00      
                                                   Based on what experience?            01/01/70 00:00      
                                                      That's not how it works            01/01/70 00:00      
                                                         maintenance is a totally different issue            01/01/70 00:00      
                                                         apples to pears?            01/01/70 00:00      
                                                            I don't need to compare/contrast apples and pears            01/01/70 00:00      
                                                               The embedded world is larger than your tiny island            01/01/70 00:00      
                                                   IF            01/01/70 00:00      
                                                      It's all about initial hardware cost, not maintenance cost.            01/01/70 00:00      
                                                         Value of investment            01/01/70 00:00      
                                                         Not Here            01/01/70 00:00      
                                                         Whose business?            01/01/70 00:00      
                                                            What do you mean by "code analysis tools"?            01/01/70 00:00      
                                                               Some important tests            01/01/70 00:00      
                                                                  Yes, those come up in HLL, but ...            01/01/70 00:00      
                                                                     Memory leaks nothing to do with HLL            01/01/70 00:00      
                                                                        Yeah, you can do that ... but it's not recommended            01/01/70 00:00      
                                                                           More way than one to create memory leaks            01/01/70 00:00      
                                                                           that is not applicable to small embedded            01/01/70 00:00      
                                                                     Way easier to analyse non-goto code            01/01/70 00:00      
                                                                        and why would that be?            01/01/70 00:00      
                                                                           General purpose languages normally allows dangers            01/01/70 00:00      
                                                                              You still don't get the point, Per            01/01/70 00:00      
                                                                                 Wrong question            01/01/70 00:00      
                                                                                    what view?            01/01/70 00:00      
                                                                                       and the answer is            01/01/70 00:00      
                                                                                       can be seen as a leading question            01/01/70 00:00      
                                                                        Careful now! Some folks like Pascal for the '51            01/01/70 00:00      
                                                                           Why?            01/01/70 00:00      
                                                                        Some things depend on your point of view            01/01/70 00:00      
                                                                           Richard has never, ever, in his whole life implemented a bug            01/01/70 00:00      
                                                                              I may have written 'em, but I've never shipped 'em            01/01/70 00:00      
                                                               QAC and Polyspace            01/01/70 00:00      
                                                                  thanks, Oliver            01/01/70 00:00      
                                                                     MISRA and assembly don't mix well.            01/01/70 00:00      
                                                                        you can write FORTRAN in any language            01/01/70 00:00      
                                                                           I know ... but MISRA rules are explicit.            01/01/70 00:00      
                                                                              Not happy will all parts of MISRA            01/01/70 00:00      
                                                                                 Interesting discussion of MISRA C:            01/01/70 00:00      
                                                                                 Flawed but useful            01/01/70 00:00      
                                                                              Nested comments can produce different results            01/01/70 00:00      
                                                                           That's the thing with rules            01/01/70 00:00      
                                                                     Polyspace            01/01/70 00:00      
            Also in VB            01/01/70 00:00      
               Amazing!            01/01/70 00:00      
   You really are very naughty Andy            01/01/70 00:00      

Back to Subject List