-
I'm exploring a new chip for a project—the RV1106, an ARM Cortex-A7 32-bit processor. This chip is quite robust, boasting about 1.2 GHz and a decent amount of memory, roughly in the ballpark of the Raspberry Pi Zero in terms of performance. I'm curious about your thoughts on using Moddable for embedded programming on this chip. It runs Linux, so one approach could obviously be developing with NodeJS. However, I feel like Moddable could potentially offer some advantages, especially in terms of efficiency and interacting with native C code—like faster startup times and avoiding JIT compilation. Do you think it's a good idea to go with Moddable on this chip? And if so, would starting with the existing Linux build target be the right move? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
It is perfectly reasonable to use the Moddable SDK on that class of devices. In our Node-RED MCU work, we often hear developers say that Node-RED itself (built on Node.js) can feel heavy on a Raspberry Pi class hardware. Node-RED MCU Edition (built on the Moddable SDK) running on the same hardware is very light. The Linux port should work as-is. You'll likely need to create some native modules for your specific purposes, but you have plenty of experience doing that. FWIW – depending on your project goals, Compartments are another unique feature of the Moddable SDK, so you can sandbox untrusted code. |
Beta Was this translation helpful? Give feedback.
-
@linfan68, Could you please direct me to the support site for the RV1106? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the link. I think that an embedded linux target is different enough from the If you are interested in pursuing this device, we can start a porting discussion like we did for pico #568 |
Beta Was this translation helpful? Give feedback.
I've forked current public branch and created a demo here:
https://github.com/linfan68/moddable/tree/linemb-demo
This is the commit:
90e1336
and a very minimal document:
https://github.com/linfan68/moddable/blob/linemb-demo/documentation/devices/linemb.md