Onestone wrote: >Alex wrote: > > > >>BTW. Did you ever written self modifying code ? This is really fun :) >> >> >> >At one point all code just about was self modifying, there was no other >way to do it. now it is frowned upon. Why? Not because it is bad >technique, with just a few bytes of memory there is no other suitable >technique. Now ith memory to burn, and cycles to waste of course it >isn't necessary. > > The self modifying code type has been discuraged by the upper managers because they were afraid that if the original programmer leaves the company, nobody will understand the code left behind. This is the real reason for it's embedded demise :) However it is alive and well in all these viruses that clog our tools. >I always feel the opposite, if I start approaching 32k of code I've >failed to understand and optimise the application properly. There's >absolutely nothing puny about the MSP430, as I once said to somebody >regarding 8 pin PIC micros, they're only as limited as your imagination >is to think of something, and your ability to fit it into the chip. > > This thinking is good if you have only one product to take care and on the company money. But when you invest in it as much resources like me, you would like to know that the next project might benefit from it also :)
C compiler
Started by ●April 12, 2005
Reply by ●April 17, 20052005-04-17