View Single Post
Old 07-27-2016, 12:50 PM   #16
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Cinisajoy View Post
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.

Last edited by geekmaster; 07-27-2016 at 01:38 PM.
geekmaster is offline   Reply With Quote