2 @comment node-name, next, previous, up
10 @comment node-name, next, previous, up
13 At the start of cold init, the only thing the system can do is call
14 functions, because @code{COLD-FSET} has arranged for that (and nothing
17 The tricky bit of cold init is getting the system to the point that it
18 can run top level forms. To do that, we need to set up basic
19 structures like the things you look symbols up in the structures which
20 make the type system work.
22 So cold-init is the real bootstrap moment. Genesis dumps
23 symbol<->package relationships but not the packages themselves, for
24 instance. So we need to be able to make packages to fixup the system,
25 but to do that we need to be able to make hash-tables, and to do that
26 we need @code{RANDOM} to work, so we need to initialize the
27 random-state and so on.
29 We could do much of this at genesis time, but it would just end up
30 being fragile in a different way (needing to know about memory layouts
31 of non-fundamental objects like packages, etc).