On 04/12/14 7:06 PM, Peter Corlett wrote:
On Tue, Dec 02, 2014 at 07:26:09PM +0100, Johnny
Billquist wrote:
[...]
Pick and choose. Why not C? Although the code
generated by the PDP-11 C isn't
the best I've seen. FORTRAN-77? BASIC+2? The list goes on... Personally I
might have done it in MACRO-11 as well. :-)
The PDP-11 ISA is sane enough that one could create a LLVM backend and
cross-compile to it using any of the LLVM-supported languages. It'd be quite
Does LLVM actually scale down that far in practice? I know, from having
done most of a PDP-11 back-end, that *lcc*, "a retargetable C compiler,"
doesn't, really, without modification.
perverse to run C++14 code on it, but the code would
likely be smaller and
faster than anything generated by a native compiler.
Bonus points for running Java on it :)
That isn't possible, the machine is far too small. Heck, this thread
began with grave doubts that it can even run TeX.
--Toby