News for hackers. Stuff that matters.
Re:Chuck Moore: Programming a 144-computer Chip to Minimize ... by jballanc on Friday December 20, 2013 @06:56AM (#6940994)
Not sure how many people remember, but back in the PowerPC days of Macintosh, the OpenFirmware chips actually contained a Forth interpreter implemented in hardware. It always struck me that, should the need arise, you could use the Forth interpreter to write a bootstrap C compiler, then use that to build a proper C compiler and from there compile and load a minimal kernel. In other words, starting with bare metal you could, in theory, get to a fully functional desktop computer...

...one of these days maybe I'll actually have the time to find out if that really works in practice.

Re:Chuck Moore: Programming a 144-computer Chip to Minimize ... by astrobe_ on Friday December 20, 2013 @09:04AM (#6941394)
The thing that really stop you is to find good documentation about your hardware. Displaying a character on screen or sending a packet over the network without using system or BIOS calls will require you to pages after pages of very technical and not always well written documentation.

That said you can pick a very old PC with a functional floppy drive, and write a Forth interpreter under DOS in assembler. Then, you "just" have to replace the system call to DOS to read/write blocks to/from your blockfile with BIOS calls to read/write floppy disk sectors. You can even do that under DOS, provided you don't have anything valuable on your hard disk. This DOS-based Boostrap Forth should feature at least an editor, a mini-assembler and a self-compiler. Once you have that, you can make a bootable disk that boots on your standalone Forth interpreter (which has therefore been promoted to the rank of 'OS' ;-). With a very old 5MHz 8086 "laptop" featuring an half-broken single density floppy disk drive, one can boot, make a change in the kernel, recompile, then reboot and test the change within a minute. Those machines were power monsters. It's a pity that CGA cards didn't have shaders ;-).

Re:Chuck Moore: Programming a 144-computer Chip to Minimize ... by rbanffy on Friday December 20, 2013 @08:41AM (#6941296)
The OLPC XO machines also have it, as well as SPARC-based Sun workstations.
Re:Chuck Moore: Programming a 144-computer Chip to Minimize ... by xradionut on Friday December 20, 2013 @10:05AM (#6941663)
If only a geek could buy the latest version of the OLPC laptop...
Re:Chuck Moore: Programming a 144-computer Chip to Minimize ... by protomyth on Sunday December 22, 2013 @09:32AM (#6950387)
If only a low-income parent could buy the latest version of the OLPC laptop for their child....