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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/07/09 17:03
Read: times


 
#168242 - What excuses?
Responding to: ???'s previous message
Per Westermark said:
Richard said:
I think it's much, Much, MUCH worse for a software vendor to publish a work product that is not in every testable way absolutely perfect, even if they fix it later, than for a couple of dozen thieves to steal their product in the way you describe every day.

Not at all. They don't lose much money by ignoring you. They are selling to just about everyone else. Most people either buy on recommendation, or manages just fine to evaluate the compiler in the available code space.

Do you seriously believe that those who'd steal a product if it were sufficiently difficult to get past the time-limiting features would ever buy the product? If they steal it, it's no loss in sales. The vendor hasn't lost a dime! OTOH, if even one prospective customer finds, after evaluating the product, finds it is what he wants, not because he's been stampeded into it, but because he's actually determined that product XYZ is more suited to his purpose than ABC, then the vendor makes a sale.

Yes, there are people out there who create "cracks" just as there are people out there who create virus and other types of malware. Nothing will ever get rid of them. However, if KEIL, IAR, or others have a million copies of their software "out there" not being used by the folks who cracked it, and crackers seldom actually use the products they steal, Keil, IAR, etc, haven't lost a dime! The guys who would buy a "cracked" package seldom benefit, as the cracks are seldom without undesirable and generally catastrophic side-effects. That's why I don't know anyone who uses 'em.

Next thing - a full edition that has a time limit you can tamper with can quickly reach a torrent site in which case a huge number of people will have free availability of the compiler forever. A significant percent of people would not buy what they can find for free, even if illegal.

Nobody said anything about "a time limit you can tamper with." If the software guys can't figure out how to prevent such tampering, they get what they deserve.

Third - you are comparing with a Solitaire game. Is the price similar? For cheap programs, I just buy. For expensive programs I first think a lot and google a lot and checks forums. I would have expected that Solitaire program to be a cheap program. The web page seems to agree: "The 725 games are only US$24.95." Are you really comparing the price model for a $25 toy program with a very expensive professional tool? I wouldn't want to spend much time to look for a cracked (and possibly virus-ridden) copy of a $25 program. I'm afraid quite a lot of people would be willing to spend significant amounts of time to get their hands on a free C51 toolchain.

I just used that as an example. The price isn't the issue. I don't know how hard it would be to bypass the time-lock. However, as I said earlier, if the software guys can't do that such that it's not easy to "crack" then they get what they deserve.

Richard said:
Just what has PC programming to do with the subject at hand?

It can't be too hard to decode that single sentence I wrote. I just said that it is trivial to calculate timings for a 8051 in relation to more complex processors, so how can it be so hard to evaluate the compiler?

It's not "hard" but it is time-consuming and burdensome, and much more so when applied to the output from a compiler. Cycle counting isn't the only valuable thing, you know. It's just of particular interest to me.

Richard said:
MCU programmers should know, understand, and be able to simulate precisely the behaviors of the MCU they're using. If their compiler doesn't do that to the nearest clock cycle, it's rubbish!

I don't expect I will ever see a compiler simulating a processor. Kind of wrong tool for the task ;)

It's not the compiler that does that, but many compiler packages include a simulator/debugger. That's what does the cycle counting. Some don't, of course. I associate them simply because in the cases where they're included, it's unlikely one would buy the package without the simulator. It's a valuable function, particularly with the sort of impenetrably twisted code that the compiler spits out. That code isn't necessarily bad, but it's hard for humans to follow unless they have a very clear understanding of exactly what that compiler does.

What tools are you using now to simulate everything down to the nearest clock cycle when you write in assembler? I still claim that the same tool (your head or whatever) should be able to evaluate with the same precision the result of the assembler instructions from the compiler.


When I write ASM, I'm acutely aware of how long code segments take, and even include the cycle counts in the comments. In some cases, with MCU's that can change cycle lengths and memory access modes dynamically, e.g. the SiLabs and Maxim/Dallas one-clockers, the timing can vary considerably depending on the context from which a given code segment is instantiated. What's needed, I guess, is a REAL simulator.

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