Arduino vs FEZ

If you try to toggle a pin on the parallel port on your 3Ghz PC, will it be faster than 8-bit micro (Arduino-atmel or anything like PIC)? I am near sure the 8-bit micro will be faster! Why? On 8-bit micro you have about 10 instructions to toggle the pin, on the pc, this is few million instructions…for your managed call to propagate down to the hardware. Does this mean an 8-bit micro is faster than you 3Ghz PC?

That’s true. Use the right tool for the specific job. Use a nut cracker to crack nuts, not a freight train.

Hi guys
Im sorry to be back on this thread but as the new beta is out I thought I might do a new run under native code and the results are great!

Im new to the RLP but changed the ‘hello world (LED blinker) to run at full speed

while (1)
	{
	state = !state;
	RLPext->GPIO.WritePin(pin, state);
	}

And now we are down to 1.5uS compared to the managed code of 86uS that I had before. Arduino is still at 7.9uS :slight_smile:
Great work GHI !!!

So in anyway you look at it, fez is faster and easier? :slight_smile:

I must admit that this release opens up a whole new side of FEZ and if GHI doesn’t get a big fat chunk of the marked I will be amazed.
Again, great work!! and we are only scratching the surface of this potential.