Quote:
Originally Posted by Cinisajoy
Does the kindle have enough RAM to write even small programs?
I know they only have between 2 and 4 megabytes of storage.
|
We wrote large programs that ran on minicomputers with RAM measured in kilobytes, so yeah, the kindle has more than enough (and swap files are easy if you need more). That is what native mode programming (and talking to the bare metal) is all about. Megabytes are a THOUSAND times larger, but modern software does not care (except in embedded processors, my specialty). Old-school programming, where every byte counts...
And if you need a high level language, there is
microPython on the ESP8266 (which has WAY less RAM than a kindle). And kindles have python and lua and java already, and
tinycc (tcc) as well.
Remember that a large app can reside on flash and only cache the parts it needs at this moment in RAM. And native mode programming is easy with data structures residing in memory mapped files.