On a sunny day (Tue, 05 Nov 2013 08:06:51 -0800) it happened John Larkin wrote in :
Yea, it is all the fault of C right?
You are so clueless as to C that it makes me wonder if you can code anything.
Pointers are the least of all worries. Just a few basic rules you need to go by.
Well your longing for Harvard architecture may get you a small embedded system with a 8051.
That part is true.
???????????????????????????
LOL
HELLO!???
You do not even know the difference between a bug and a feature.
I see things bit different, and I said that there before:
If you REALLY want a house with a cipher lock on each door, the bathroom, on both sides, the windows with bars, and trapdoors in the hallway, where you move around on chains or rails so you cannot hurt yourself by bumping into walls and furniture, then go for it. It is however much more practical to put the locks etc on a fence around the place.
Making programs 'absolutely secure' is probably impossible, would be economically a disaster as it takes too much time and resources, it is the wrong way to go about it, make your environment secure!
Do not connect your toaster (to keep with your small embedded world) connected to the world wide web of things. As it is guaranteed sooner or later somebody will burn your toast, either by accident or just for fun or whatever.
So watch you interfacing, use decent firewalls, do not use WiFi where you can use cables, etc etc.
mmm 00
No it should not always do that. Some expensive launches of expensive satellites resulted in an abort and destruction of the hardware because a 'variable was out of the required range' and the process killed itself, or whatever. It needs to be looked at with great care in every situation what needs to happen if a calculation fails.
PCs is a different thing, I am sure yours is already completely infected, probably by that new USB memory stick you just bought, or something similar, your digital camera, or your router, all these have already been observed in the wild.
Your illusion of safety is well known to me, and your illusion of perfectness of your code well known to everybody here by now.
Reality, is different.
BTW do you actually KNOW what a pointer is, in C?