3 ms·
Pre-cooking complicated data in C programs such that it can be faulted in with zero initialization time at runtime has been an idiom for a long time. Try build
by ajross 13y ago
Pre-cooking complicated data in C programs such that it can be faulted in with zero initialization time at runtime has been an idiom for a long time. Try building GNU emacs.
It's true that the language support for generating such a thing is minimal (though templates in C++ can get you pretty far), so other techniques like generating code at build time or (the emacs trick) actually executing the script interpreter in a bootstrap mode to generate the pickled data are common.