This is interesting - Great Cow BASIC is four times faster than Arduino in certain tests. I always thought this, then, today I tested it.
I have an LCD. Attached to an UNO.
Same code logic for Great Cow BASIC and Arduino C.
* Setup
* Clear the millis counter to 0
* Print test
* Move the cursor
* Print millis()
Result - Great Cow BASIC is sub 1ms and the Arduino is between 4ms and 5ms.
The code - am I missing something? I have checked the reset of millis in both cases and I am resetting to 0.
I program both and note the results.
Great Cow BASIC
'Hello, world!
0
Arduino
'Hello, world!
4
Very fast - it could be the LCD library or the compiler but interesting results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great Cow BASIC is four times faster than Arduino in certain tests.
Do you mean the sketch ide enviro vs gcb?
Hasn't the arduino compiler been compared to gcb before https://www.youtube.com/watch?v=qdloFhULa3I
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is interesting - Great Cow BASIC is four times faster than Arduino in certain tests. I always thought this, then, today I tested it.
I have an LCD. Attached to an UNO.
Same code logic for Great Cow BASIC and Arduino C.
* Setup
* Clear the millis counter to 0
* Print test
* Move the cursor
* Print millis()
Result - Great Cow BASIC is sub 1ms and the Arduino is between 4ms and 5ms.
The code - am I missing something? I have checked the reset of millis in both cases and I am resetting to 0.
I program both and note the results.
Great Cow BASIC
Arduino
Very fast - it could be the LCD library or the compiler but interesting results.
Great Cow BASIC is four times faster than Arduino in certain tests.
Do you mean the sketch ide enviro vs gcb?
Hasn't the arduino compiler been compared to gcb before https://www.youtube.com/watch?v=qdloFhULa3I
Not the IDEs Stan - the executing of the code as shown above (in the two IDEs).