Results 45 comments of Mikael Patel

@phreda4 Thanks for the optimization suggestions. I have not yet come to this level of optimizations yet. Do you have any benchmarks on branch-less threaded code? The stall due to...

There are several advantages in making Forth/Threaded Interpreters available within the Arduino community. With the limited amount of resources, limited support for debugging and many newcomers this gives a great...

Some progress over the holidays. The kernel is now 120 primitives (3.5 Kbyte without dictionary strings). Many kernel operations are defined both in C/C++ and threaded code to allow tailoring...

Further progress and the first release of this project is soon in sight. The kernel is now 128 primitives (3.7 Kbyte without dictionary table and strings). The [token compiler](https://github.com/mikaelpatel/Arduino-FVM/blob/master/examples/Compiler/Compiler.ino) is...

The Forth Virtual Machine (FVM) has been updated to allow threaded code in data and program memory. A Forth style outer interpreter with compiler has been added; https://github.com/mikaelpatel/Arduino-FVM/blob/master/examples/Forth/Forth.ino. Typically on...

The latest version (1.1) adds support for Arduino Due (SAM); 32-bit cell size, RAM based (no mixed memory management). Please see the example sketch Forth.ino; https://github.com/mikaelpatel/Arduino-FVM/blob/master/examples/Forth/Forth.ino

Completed the first round of this "natural" token thread interpreter. The latest update includes a unified address space for SRAM, EEPROM and PROGMEM (flash) so that scripts can be run...

Completed the second round of performance improvements. Benchmarks are improving but there is a long way to go. Please see benchmark measurements https://github.com/mikaelpatel/Arduino-Shell/issues/40 and ongoing performance improvements, https://github.com/mikaelpatel/Arduino-Shell/issues.

Looks like you need a method to temporary disable the peep-hole optimizer. This could be done by adding a `noop` before `;` (EXIT). I use this technique in a run-time...

A few more links :) https://github.com/mikaelpatel/Arduino-FVM https://github.com/mikaelpatel/Cosa-Shell https://github.com/mikaelpatel/vfm Cheers!