←back to thread

90 points rbanffy | 1 comments | | HN request time: 0s | source
Show context
wduquette ◴[] No.45132286[source]
The OP says that 8-bit CPUs couldn't handle Pascal well, and that Action! (release in 1983) was the first IDE for 8-bit machines.

But Apple Pascal was released for the Apple II in 1979. Based on UCSD Pascal, the Apple Pascal system was basically an OS that simply was an IDE; and it worked perfectly well on 8-bit hardware. I had quite a lot of fun with it back in the day.

replies(7): >>45132536 #>>45133065 #>>45133081 #>>45133100 #>>45133166 #>>45134524 #>>45136891 #
kjs3 ◴[] No.45133166[source]
The OP says that 8-bit CPUs couldn't handle Pascal well

The 6502 might not have been able to handle Pascal well, but Borland Turbo Pascal for CP/M (z80, 8080, etc) worked very, very well. It was also released in 1983 or so, but dunno whether it or Factor was 'first'.

replies(1): >>45138768 #
guenthert ◴[] No.45138768[source]
Yes, Turbo Pascal was awesome and quite possibly the best programming environment for the Z80. The register-starved 6502 however relies on zero-page addressing for efficient code, that's difficult to exploit in compilers for high level languages (and hence why you don't see that in general purpose CPUs anymore). One way around that is to compile to a byte code which is then interpreted (e.g. BCPL, UCSD Pascal).
replies(1): >>45162550 #
1. wduquette ◴[] No.45162550[source]
And in fact I eventually went from Apple Pascal to Turbo Pascal on a Kaypro 4 running CP/M-80. It was like coming home.