News for hackers. Stuff that matters.
Re:Announcing PilMCU, the Lisp Machine on a Chip by emeraldd on Friday September 19, 2014 @10:34AM (#8340656)
I'd really like to see the full ISA, etc for the chip. A few years ago, I was doing research on building a byte code based vm after working through Peter Michaux "Scheme From Scratch" http://peter.michaux.ca/articles/scheme-from-scratch-introdu.... (I highly recommend running through his code, but do the GC earlier, it's easier to get it from the start than to try to add it.) I couldn't find anything online listing the kinds of instructions you'd want in a lisp chip.
Re:Announcing PilMCU, the Lisp Machine on a Chip by auvi on Friday September 19, 2014 @02:45PM (#8341862)
there's something similar done before, Lisp machines in FPGA [0] [1].

[0] http://www.frank-buss.de/lispcpu/ [1] http://www.aviduratas.de/lisp/lispmfpga/

Re:Announcing PilMCU, the Lisp Machine on a Chip by pjmlp on Friday September 19, 2014 @11:06AM (#8340831)
There are a few PDFs with the original Lisp Machine ISA, if I am not mistaken.

I will have a look when back at home.

Re:Announcing PilMCU, the Lisp Machine on a Chip by Symmetry on Friday September 19, 2014 @11:47AM (#8340997)
The original Lisp Machines were conventional machines with hardware features like tagged pointers that let them execute Lisp more quickly. I'm under the impression that the machine in the article is far more radical.
Re:Announcing PilMCU, the Lisp Machine on a Chip by lispm on Friday September 19, 2014 @02:17PM (#8341711)
They were not that conventional. The first Lisp Machines were using micro-coded processors with special instruction sets tailored for compiled and interpreted Lisp.

* tagged architecture

* stack-oriented architecture with large stack buffers

* hardware assisted GC

* support for generic Lisp operators. For example a simple + operator.

* support for basic Lisp data structures like cons cells

The result is that Lisp programs compile to very compact machine code.

Re:Announcing PilMCU, the Lisp Machine on a Chip by ANTSANTS on Friday September 19, 2014 @06:57PM (#8342938)
I'm guessing that by "far more radical" the GP meant "directly evals s-expressions." Especially since, IIRC, that's how PicoLisp works. I don't think there is much benefit to that approach over simpler register machines, but it's an interesting idea at least.
Re:Announcing PilMCU, the Lisp Machine on a Chip by kjs3 on Friday September 19, 2014 @11:38AM (#8340959)
If you mean the LMI Lisp machine: http://bitsavers.trailing-edge.com/pdf/lmi/

There's significantly more for the TI Explorer Lisp machine: http://bitsavers.trailing-edge.com/pdf/ti/explorer/

And even more for Symbolics: http://bitsavers.trailing-edge.com/pdf/symbolics/

Xerox did a Lisp machine line: http://bitsavers.trailing-edge.com/pdf/xerox/interlisp/

There's a working emulator for the MIT CADR: http://www.unlambda.com/cadr/index.html

And you can of course run Genera in an emulator: http://www.unlambda.com/download/genera/

There's a semi working TI explorer emu: http://www.unlambda.com/lispm/

Re:Announcing PilMCU, the Lisp Machine on a Chip by rjsw on Friday September 19, 2014 @12:26PM (#8341172)
There is an emulator for the Xerox machines.

There is a working TI explorer emulator: http://www.unlambda.com/index.php?n=Main.Meroko

An updated version of the MIT CADR emulator: http://trac.common-lisp.net/mit-cadr/browser/

Source trees for the LMI and TI machines are also on the web.

Re:Announcing PilMCU, the Lisp Machine on a Chip by lispm on Friday September 19, 2014 @02:09PM (#8341655)
> Source trees for the LMI and TI machines are also on the web.

Without usable licenses.

Re:Announcing PilMCU, the Lisp Machine on a Chip by rjsw on Friday September 19, 2014 @02:29PM (#8341768)
I have been told that TI have given formal permission to redistribute their code, I will chase up the person who got hold of it to get it properly labelled.

The LMI stuff is more interesting to me as it is complete, I'm still a fair bit of work away from being able to build it though. I have spoken with RG about it but we didn't discuss the licence.

Re:Announcing PilMCU, the Lisp Machine on a Chip by sedachv on Friday September 19, 2014 @09:39PM (#8343395)
Texas Instruments sold their computer systems division at the start of the 1990s. I've read that that sale did not include the Explorer copyrights.

At the start of 2011 I got in touch with Robby Holland, then the head of TI's patent licensing division. Holland could not find anything about the computer systems division, or anything about the sale, or whether they owned the rights anymore. They did not have any of the project materials on hand. Holland said he would have someone look into the archives. When I tried to get in touch with him a few months later Holland was no longer with Texas Instruments.

Re:Announcing PilMCU, the Lisp Machine on a Chip by lispm on Saturday September 20, 2014 @06:57AM (#8344234)
Texas Instruments closed their Lisp Machine activities in 1990. Nobody picked that up.
Re:Announcing PilMCU, the Lisp Machine on a Chip by lispm on Friday September 19, 2014 @03:50PM (#8342153)
There is an extremely large amount of TI Explorer code with lots of later stuff written by TI:

https://archive.org/details/ti-explorer

No usable license so far.

Re:Announcing PilMCU, the Lisp Machine on a Chip by rjsw on Friday September 19, 2014 @04:14PM (#8342261)
Yes, that is the stuff that I have been told has been released by TI. I will try to get a proper licence added to it.

The microcode sources are missing and one of the files for NFS is truncated.

Re:Announcing PilMCU, the Lisp Machine on a Chip by pjmlp on Friday September 19, 2014 @12:45PM (#8341256)
Yes that was it.
Re:Announcing PilMCU, the Lisp Machine on a Chip by Animats on Saturday September 20, 2014 @02:33AM (#8343851)
Yes, it can be done, but the half-dozen or so LISP machines of the 1980s were not very successful. Price/performance was worse than compiled LISP on common CPUs.

There's no indication of hardware support for garbage collection. It would probably be more useful to have tag bits to support GC than a LISP-oriented instruction set, especially if it allowed concurrent GC.

Re:Announcing PilMCU, the Lisp Machine on a Chip by grondilu on Friday September 19, 2014 @11:24AM (#8340899)
Talking about Lisp machines. I don't know much about these things but I was thinking about them recently when Hewlett Packard announced its so-called Machine^1. They want to build a new kind of OS for it, but wouldn't a Lisp machine just do?

[1] http://www8.hp.com/hpnext/posts/discover-day-two-future-now-...

Re:Announcing PilMCU, the Lisp Machine on a Chip by Pufe on Friday September 19, 2014 @01:07PM (#8341349)
where's the kickstarter page? I want a few of those.
Re:Announcing PilMCU, the Lisp Machine on a Chip by dozenal on Friday September 19, 2014 @10:28PM (#8343486)
I've heard a few people suggest that with single core performance stagnating we may see more ASICs. I admit I'm skeptical, but this line of development does seem worth exploring.
Re:Announcing PilMCU, the Lisp Machine on a Chip by Symmetry on Friday September 19, 2014 @11:10AM (#8340848)
So this is something where the hardware is executing something that actually looks like LISP sort of like the Reduceron does with Haskell?
Re:Announcing PilMCU, the Lisp Machine on a Chip by programmer_dude on Friday September 19, 2014 @10:27AM (#8340628)
No links to the actual thing?
Re:Announcing PilMCU, the Lisp Machine on a Chip by daveloyall on Friday September 19, 2014 @12:41PM (#8341234)
Here's more information about the actual thing...

http://www.mail-archive.com/[email protected]/msg0483...

...But still no links to source. (As I understand it, this hardware design is expressed in the form of verilog source code.)

Re:Announcing PilMCU, the Lisp Machine on a Chip by emeraldd on Friday September 19, 2014 @10:36AM (#8340667)
I wonder if this is related: http://picolisp.com/wiki/?home
Re:Announcing PilMCU, the Lisp Machine on a Chip by daveloyall on Friday September 19, 2014 @10:42AM (#8340701)
That's PicoLisp, which you can apt-get install.

This is PilMCU, a hardware design which apparently runs PicoLisp.

Right now, only the design exists, not physical hardware. But you can run the design in a simulator. ...Something, something, verilog. (This is not my area of expertise.)

[Edit: the devs use the Icarus verilog compiler to provide simulations. It's available in Debian repositories.]

Re:Announcing PilMCU, the Lisp Machine on a Chip by sbenitezb on Friday September 19, 2014 @09:28AM (#8340367)
Do you have a diagram with the design? Something to amuse people even more? ;)
Re:Announcing PilMCU, the Lisp Machine on a Chip by unwind on Friday September 19, 2014 @10:38AM (#8340679)
It's a Verilog design for a new chip. But it doesn't seem to be open, at least I can't find the source anywhere.

It seems they're interested in launching this is a commercial (or crowd-funded) hardware product.

Re:Announcing PilMCU, the Lisp Machine on a Chip by rthomas6 on Friday September 19, 2014 @11:24AM (#8340901)
Where is the verilog source?
Re:Announcing PilMCU, the Lisp Machine on a Chip by bd_at_rivenhill on Friday September 19, 2014 @11:20AM (#8340883)
Is verilog design small enough to put on an FPGA?
Re:Announcing PilMCU, the Lisp Machine on a Chip by tejon on Friday September 19, 2014 @11:35AM (#8340946)
FPGAs are the only context in which I've ever encountered Verilog, so I'm gonna say yes?
Re:Announcing PilMCU, the Lisp Machine on a Chip by DigitalJack on Friday September 19, 2014 @01:49PM (#8341561)
Verilog is a hardware description language. You describe the hardware connections, sometimes with high level constructs like "for" loops, sometimes by just describing the gates themselves. In a sense, it is similar to HTML describing a web page, but with higher level constructs available like loops. So maybe HTML with a templating engine is a closer analogy.

For simulation, you compile verilog with a software tool into something executable by a VM or natively. This is heavily event based in execution, with events being edge transitions (a signal going from 0->1 or 1->0) occuring at specific times--for most (but not all) cases.

For producing something usable by an FPGA or a foundry for an ASIC, instead of compiling you synthesize. Different tool. Synthesis is the process of taking higher level hardware descriptions and outputing the lower level descriptions usually called a netlist. It's akin to translating C into assembly for example.

Device specific tools can take that netlist and create a bitstream for configuring an FPGA, or the foundry can take that netlist and go through a process called "physical synthesis" which takes the netlist and chooses from the foundry's library the components that will work best for that netlist to operate at speed, figure out where to place them on the die, and insert buffers as needed.

What the GP was asking: is this design small enough to fit in an FPGA. This question is orthogonal to the language used to describe the hardware.

I'd say they answer is yes, depending on the FPGA you choose. Some FPGAs are pretty high capacity these days, and even fast.

Re:Announcing PilMCU, the Lisp Machine on a Chip by alain94040 on Friday September 19, 2014 @06:32PM (#8342848)
At some HN users' request, I started a Verilog guide for software engineers here: https://en.wikibooks.org/wiki/Programmable_Logic/Verilog_for...

Enjoy (improvements and comments welcome).

Re:Announcing PilMCU, the Lisp Machine on a Chip by sklogic on Saturday September 20, 2014 @06:39AM (#8344211)
Your CPU (and likely >90% of the rest of your hardware) is designed in Verilog.
Re:Announcing PilMCU, the Lisp Machine on a Chip by Flenser on Friday September 19, 2014 @04:54PM (#8342443)
Can it run emacs?
Re:Announcing PilMCU, the Lisp Machine on a Chip by daveloyall on Monday September 22, 2014 @10:53AM (#8350773)
I think emacs needs a POSIX-like environment to run inside. (I think this is roughly correct even though I don't really understand what it means.)