On Mar 28, 2010, at 8:43 AM, Walter Banks wrote: > The ugly macros and detailed data and control flow once buried into > a code generator can do a lot to make the resultant code effective. I guess. If you're willing to have your compiler "optimize" external function calls. There was a discussion on that sort of thing here before, comparing C to languages with defined "built-in" "functions." I don't remember whether there was any consensus. Sure, you could build a special-purpose arduino-language compiler, but that would make the package less attractive from other perspectives... Besides, we're talking about the difference between a ~2.6MHz and ~120kHz pin toggle rate here; even most of the people who think they need the functions to be faster are wrong, and I suspect that it's just as well that it's slower, given the rats nest of long wires that frequently end up being used to connect the arduino to external devices... BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist