Go Down

Topic: BASIC Language Platform for Arduino Zero (Read 875 times) previous topic - next topic

maray

We are porting our BASIC language compiler and hardware environment to the Arduino Zero.

These BASIC programs are fully compiled, not interpreted, and thus as fast or faster than C code.

The unit is fully USB enabled and capable of running standalone.

For general back ground see https://www.coridium.us

AWOL

I'd be interested in meaningful benchmarks
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

basicchip

I have some simple benchmarks. Now way exhaustive, but a tip the toe in the water.  Will try to get them running as a Sketch.

Code: [Select]
dim x as single            ' simple Float test
x=1000000
while x>1
i=i+1   ' the default integer in ARM BASIC is 32 bit signed
x=x/1.0001
loop


And

Code: [Select]
i=1000000  ' default integer 32 bits -- simple integer test
while i
i=i-1
loop


And some results --

  • SAMD21       float- 1887 msec   integer- 310 msec
  • Teensy 3.2    float- 795 msec     integer-  276 msec

Go Up