-
Notifications
You must be signed in to change notification settings - Fork 181
Description
First of all thank you very much for this! I am using this on an ESP32 and I hope to distribute it to users soon with some custom device bindings.
My ESP32 is very limited in memory (320KB and much of that is consumed for program code) so I'd like to limit memory as much as possible. I am allowing users to compile (WASM :-) ) their code and upload it to a partition which is them mmap'ed to memory. To ensure true zero copy I need to relocate the memory addresses at compile time.
For the ESP32 this poses a challenge as mmap'ed virtual addresses are not guaranteed to be deterministic across firmware updates and devices.
The question is would you consider having a position independent bytecode (PIC) implementation? Or would load-time relocation be better?