2 ms·
P-code was an absolute innovation. Its time in the limelight was short lived, as Turbo Pascal soon came along and compiled directly to Z80 and later x86 - it ki
by mark-r 8y ago
P-code was an absolute innovation. Its time in the limelight was short lived, as Turbo Pascal soon came along and compiled directly to Z80 and later x86 - it killed UCSD Pascal in performance.
I borrowed the idea around 1980 to develop a language for doing data entry and verification. The trick was to make the instructions really high level, so the overhead of interpretation was a small part of the total.