mightor wrote:Right now there's only the standard programming language available for the EV3, made by National Instruments.
doc-helmut wrote:AND we might have turbo fast genuine ARM machine code on a already MT-capable platform, as fast as genuine asm machine code.
doc-helmut wrote:why not simply use a common standard ANSI C compiler ?
C compilers of any platform already come with a huge chunk of mathematic and statistic header libraries which are ANSI compatible and thus cross-compatible to headers of even other ANSI C compilers and so easily could be #included.
I guess, e.g. gpp with it's current libraries might easily target the Linux platform which will come with EV3-ARM9.
...and are insanely speeded up when using pointers.
When you access a "variable", you a) look up the address, and b) fetch the value.
Remember - a pointer IS a variable. So you a) look up the address (of the pointer variable), b) fetch the value (the address stored at that variable) ...
... and then c) fetch the value at the address pointed to.
So yes, accessing via "pointer" (rather than directly) DOES involve (a bit) of extra work and (slightly) longer time.
Users browsing this forum: No registered users and 1 guest