pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where to host ChezScheme boot images



On 2017-05-16 11:47, Joerg Sonnenberger wrote:
On Mon, May 15, 2017 at 08:50:22PM +0200, Aleksej Lebedev wrote:
Anyway, for BSDs it needs binary bootstrap images (it's written in itself).

*sigh* If your language needs a fancy bootstrap because it has no
portable implementation or you require custom extensions, would it
really be too much to ask to write a stupid bootstrap version?
It
doesn't have to be terribly efficient and if the "Scheme" part is
anywhere true, it shouldn't be that hard.


It's not quite like that. The compiler implements Scheme and is written in Scheme.
Nothing funcy and no custom extensions required.

And it is very portable: the boot image for a new platform can be cross-compiled. That's what I'm about to do: compile boot image for BSDs on Linux (or Mac OS, doesn't matter).

This is exactly the same as in case of SBCL (lang/sbcl), except that in SBCL in pkgsrc is bootstrapped with help of lang/clisp. But in case of ChezScheme, it can't be bootstrapped from other Scheme implementations (I am not even sure there are any that are fully R6RS-compatible). On the other hand it's better than SBCL,
because the bootstrap image can be cross-compiled.

Actually the same problem exists for lang/go which is bootstrapped from long/go14.

So this is very generic problem. ChezScheme is not special in any sense.

"You" is a generic third party pronoun here...

Joerg

--
Aleksej Lebedev


Home | Main Index | Thread Index | Old Index