3 ms·
That 1 1 + isn't too different (to me) from (+ 1 1) which has a different sort of beauty to it. Incidentally, the oldest surviving language on a unix system us
by shagie 4y ago
That 1 1 + isn't too different (to me) from (+ 1 1) which has a different sort of beauty to it.
Incidentally, the oldest surviving language on a unix system uses this syntax (and predates C): https://en.wikipedia.org/wiki/Dc_(computer_program) https://en.wikipedia.org/wiki/Dc_(computer_program)
http://webarchive.loc.gov/all/20100506231949/http://cm.bell-labs.com/cm/cs/who/dmr/hist.html http://webarchive.loc.gov/all/20100506231949/http://cm.bell-...
> When the PDP-11 arrived, B was moved to it almost immediately. In fact, a version of the multi-precision `desk calculator' program dc was one of the earliest programs to run on the PDP-11, well before the disk arrived. However, B did not take over instantly. Only passing thought was given to rewriting the operating system in B rather than assembler, and the same was true of most of the utilities. Even the assembler was rewritten in assembler. This approach was taken mainly because of the slowness of the interpretive code. Of smaller but still real importance was the mismatch of the word-oriented B language with the byte-addressed PDP-11.
The main advantage of Forth is that it can be put in some very small places and run impressively fast.
http://www.ultratechnology.com/chips.htm http://www.ultratechnology.com/chips.htm
https://en.wikichip.org/wiki/novix/nc4016 https://en.wikichip.org/wiki/novix/nc4016
> NC4016 (formerly NC4000) was a 16-bit stack machine microprocessor designed by Novix in 1985 primarily for the Forth programming language. The NC4016 directly executes the primitives of the high-level Forth programming language. The NC4016 was capable of executing typical Forth programs as much as 20 times faster than the Motorola 68000. Novix also offered the NC4000 Small C Compiler which was compatible with the NC4016 microprocessor.
> In 1988, the NC4016 design was licensed and improved by Harris Semiconductor which later rebranded the chip as the RTX2000, a radiation hardened version suitable for spacecrafts use.
https://en.wikipedia.org/wiki/RTX2010 https://en.wikipedia.org/wiki/RTX2010 ( https://news.ycombinator.com/item?id=8611274 https://news.ycombinator.com/item?id=8611274 )
> The RTX2010, manufactured by Intersil, is a radiation hardened stack machine microprocessor which has been used in numerous spacecraft.