I have written a Scheme evaluator in Java that does some parallelisation tricks. It’s not usable by anyone but me for the moment, but I’m getting some results.
The frontend and middle-end are ok for my purposes and are the parts that I want to concentrate on, but my backend sucks. It is unoptimized and is slow or lacks proper tail-call optimization.
So instead I want to target an existing VM. Does anyone know a candidate for this? It doesn’t have to be an enterprise-ready VM but at least it should
- be (relatively) easy to target from Scheme
- be (reasonably) portable
- support parallel constructs out of the box
If you could get your Scheme to compile and run on the Erlang VM, that will be great. Already people are thinking seriously about this and there is a project that does the reverse.