3 ms·
Before Modula and Oberon there was UCSD Pascal (http://en.wikipedia.org/wiki/UCSD_Pascal http://en.wikipedia.org/wiki/UCSD_Pascal) (1978) which had its own p-co
by acqq 13y ago
Before Modula and Oberon there was UCSD Pascal (http://en.wikipedia.org/wiki/UCSD_Pascal http://en.wikipedia.org/wiki/UCSD_Pascal) (1978) which had its own p-code machine (http://en.wikipedia.org/wiki/P-code_machine http://en.wikipedia.org/wiki/P-code_machine) to which all the code was compiled.
Microsoft also used p-code (http://en.wikipedia.org/wiki/Microsoft_P-Code http://en.wikipedia.org/wiki/Microsoft_P-Code) to reduce the code footprint in order to fit more of the big applications in the RAM which was limited then.
When we're still at Microsoft: http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability "the underlying architecture of such files is from a previous era, and includes features which allow actual code to be executed whenever a WMF file opens. The original purpose of this was mainly to handle the cancellation of print jobs during spooling"
- pjmlp 13y agoYes, regarding P-Code, the funny thing is that Wirth originally planned to use it as a means to botstrap the compiler which would then be used to compile one that could generate native code, not as final execution medium. :)