Re:Minimal safe Bash script template
by im3w1l on Tuesday December 15, 2020 @07:34AM
(#25429682)
BASIC is 56 years old. Computers back then were not very fast, but interpretation was still viable.
[ Parent
| on HN ]
Have used it on 7KB RAM :) But to be fair the interpreter was in ROM, no idea how big that was.
ROM was usually very slow, so all ROM content was usually copied to RAM before execution. RAM size was therefore still an issue.
I am pretty sure the PET-2001 didn't do that. 8 KB was all it had, about 1 KB was used by the operating system and 7 KB where available for programming. Actually something you would call byte code today, every basic command was 1 Byte. Just don't use labels with 4 or 5 characters, that wastes a lot of space!
The first models came even with 4 KB RAM / 3 KB usable. Have never seen one of those, though.