[quickjs-devel] Re: quickjs on esp32?

  • From: Fabrice Bellard <fabrice@xxxxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Mon, 9 Sep 2019 13:57:26 +0200

Hi,

QuickJS should be able to run on the ESP32 platform as it is OS independent (as you said, quickjs-libc.c is not part of the engine). For simple scripts it should fit in the available RAM.

Best regards,

Fabrice.

On 9/4/19 3:27 PM, Mario Gliewe wrote:

hi,

just a crazy idea, but would it be feasible to put any afford on trying to port quickjs to the esp32 platform?

The libc-bindings will definitively wont work at all, but for the quickjs core, as far as i could see, the code is pretty much os-independend and pretty much plain C9X?

on the esp32 we have 4MB for code and 512KB of ram, running with two cores on 240MHz.. having a mostly standard-conformant gcc toolchain. With even some posix-like libs.

For simple usecases, such as those things one would do with arduinos, this might be enough?

greets

maG

link: https://en.wikipedia.org/wiki/ESP32 <https://en.wikipedia.org/wiki/ESP32>https://en.wikipedia.org/wiki/Arduino


Other related posts: