guix-devel
[Top][All Lists]
Advanced

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

Re: [bootstrappable] Re: prototyping the full source bootstrap path


From: Mark H Weaver
Subject: Re: [bootstrappable] Re: prototyping the full source bootstrap path
Date: Wed, 22 Nov 2017 23:56:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi,

"Orians, Jeremiah (DTMB)" <address@hidden> writes:

>> Hmm, it's my understanding that Guile is pretty heavily tied to
>> libguile/*.c.  What makes you think that it's possible for Guile to
>> run without libguile/*.c?
> https://wingolog.org/archives/2016/01/11/the-half-strap-self-hosting-and-guile
>
> Specifically "The bootstrap C interpreter in libguile loads the Scheme
> compiler and builds eval.go from eval.scm"
>
> Thus by simply having a scheme compiler able to compile eval.scm, we
> can skip the libguile/*.c  Assuming I interpreted that situation
> correctly

Jan is correct that Guile is still heavily tied to its C code.  It's
true that Guile's compiler is written in Scheme and that the C evaluator
is used only during bootstrapping, but the C bootstrap evaluator is only
a small piece of libguile.  The majority of libguile is still needed.
Notably, the entire runtime, the VM, and implementations of many data
structures and other libraries are written in C.

       Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]