Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash vs ram usage #8

Open
hugows opened this issue Jul 6, 2016 · 1 comment
Open

flash vs ram usage #8

hugows opened this issue Jul 6, 2016 · 1 comment

Comments

@hugows
Copy link

hugows commented Jul 6, 2016

hi yesco,
great project, i'm eager to try it at home!
since the cheap dev boards available have relatively big flash, i'd like to understand the usage of flash vs ram in the context of esp-lisp, like:
is esp-lisp stored on the flash? could we run a lisp program stored in the flash?
etc...
thanks!

@yesco
Copy link
Owner

yesco commented Jul 7, 2016

Hi. Lisp currently not stored in flash.

I'm experimenting with making that possible.

The biggest issue with making so is symbol names, as having flash point to
RAM would-be a bad idea....

But also, one doesn't want force all symbols to be defined/require flash
for normal programs.

I have some solutions in the pipeline.

The esp-lisp is designed to be more efficient in memory usage compared to
other lisps/lua/js

For example small simple symbol names aren't "stored" at all but instead
encoded in the pointer:

  1. Three any characters
  2. Six characters a-z

Such lisp code would pose no problems.
On Jul 7, 2016 01:22, "Hugo Schmitt" [email protected] wrote:

hi yesco,
great project, i'm eager to try it at home!
since the cheap dev boards available have relatively big flash, i'd like
to understand the usage of flash vs ram in the context of esp-lisp, like:
is esp-lisp stored on the flash? could we run a lisp program stored in the
flash?
etc...
thanks!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#8, or mute the thread
https://github.com/notifications/unsubscribe/ACBfmjjzQNMF1wmh1-ylHrW3u62lUiepks5qS-Q-gaJpZM4JGT1P
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants