Prev: Pathfinding algorithm bugged?
Next: Counting lines of code produced as a metric of programmer quality
From: Adam Beneschan on 24 Mar 2010 18:14 On Mar 24, 2:27 pm, p...(a)informatimago.com (Pascal J. Bourguignon) wrote: > > True. But P-code was for student use, not production, especially not > > production in an application where execution time was critical. > > This is wrong. > > P-code was designed, and used, exactly like the JVM is today. There > even were developed processors that executed directly P-code, natively, > like we have JVM implemented in hardware too. I think Patrick is essentially correct; the Wikipedia entry for "UCSD Pascal" says: "The University of California, San Diego Institute for Information Systems developed it in 1978 to provide students with a common operating system that could run on any of the then available microcomputers as well as campus DEC PDP-11 minicomputers." [This was before the IBM PC came out, so I think "then available microcomputers" meant Terak and maybe Apple II; perhaps there were some others.] So, yes, it was originally designed for student use; I don't believe the original designers had any commercial use in mind. But its use spread after that. -- Adam
From: Patrick Scheible on 24 Mar 2010 19:15 Adam Beneschan <adam(a)irvine.com> writes: > On Mar 24, 2:27=A0pm, p...(a)informatimago.com (Pascal J. Bourguignon) > wrote: > > > > True. =A0But P-code was for student use, not production, especially not > > > production in an application where execution time was critical. > > > > This is wrong. > > > > P-code was designed, and used, exactly like the JVM is today. =A0There > > even were developed processors that executed directly P-code, natively, > > like we have JVM implemented in hardware too. > > I think Patrick is essentially correct; the Wikipedia entry for "UCSD > Pascal" says: > > "The University of California, San Diego Institute for Information > Systems developed it in 1978 to provide students with a common > operating system that could run on any of the then available > microcomputers as well as campus DEC PDP-11 minicomputers." [This was > before the IBM PC came out, so I think "then available microcomputers" > meant Terak and maybe Apple II; perhaps there were some others.] I encountered it on a CP/M system. S-100 bus, Z80 processor. Apple II's that I saw didn't run it, but I wouldn't swear that it was impossible. -- Patrick
From: Adam Beneschan on 24 Mar 2010 19:24 On Mar 24, 4:15 pm, Patrick Scheible <k...(a)zipcon.net> wrote: > I encountered it on a CP/M system. S-100 bus, Z80 processor. Apple > II's that I saw didn't run it, but I wouldn't swear that it was > impossible. I recall doing some work with UCSD Pascal on an Apple II (probably II +) at UC Irvine. -- Adam
From: Patricia Shanahan on 24 Mar 2010 19:28 Patrick Scheible wrote: > Adam Beneschan <adam(a)irvine.com> writes: > >> On Mar 24, 2:27=A0pm, p...(a)informatimago.com (Pascal J. Bourguignon) >> wrote: >> >>>> True. =A0But P-code was for student use, not production, especially not >>>> production in an application where execution time was critical. >>> This is wrong. >>> >>> P-code was designed, and used, exactly like the JVM is today. =A0There >>> even were developed processors that executed directly P-code, natively, >>> like we have JVM implemented in hardware too. >> I think Patrick is essentially correct; the Wikipedia entry for "UCSD >> Pascal" says: >> >> "The University of California, San Diego Institute for Information >> Systems developed it in 1978 to provide students with a common >> operating system that could run on any of the then available >> microcomputers as well as campus DEC PDP-11 minicomputers." [This was >> before the IBM PC came out, so I think "then available microcomputers" >> meant Terak and maybe Apple II; perhaps there were some others.] > > I encountered it on a CP/M system. S-100 bus, Z80 processor. Apple > II's that I saw didn't run it, but I wouldn't swear that it was > impossible. Apple Pascal was based on UCSD Pascal. I ran it frequently on my Apple II. According to the reference manual, it required 48 KB memory, at least one Apple II disk drive, and the Apple Language System. Patricia
From: Colin Paul Gloster on 25 Mar 2010 11:46
On Tue, 23 Mar 2010, Jim Balson wrote: |-------------------------------------------------------------------------| |"[..] | | | |If we were to add another language to our benchmarks, Pascal would be the| |logical choice." | |-------------------------------------------------------------------------| FORTRAN-77 code on a good machine would be faster if no heap usage is needed. |-------------------------------------------------------------------------| |" And we may do it at some point in the future. We're certainly | |going to add many more algorithms to the testing as time permits." | |-------------------------------------------------------------------------| Good. |