X11 and CC?
Posted Sep 23, 2008 6:14 UTC (Tue) by
eru (subscriber, #2753)
Parent article:
LPC: Booting Linux in five seconds
The X Window System runs the C preprocessor and compiler on startup,
in order to build its keyboard mappings.
Sounds very strange. Frankly I did not know it does this. Mapping
keyboard presses to X's internal codes isn't exactly time-critical, so
why doesn't it simply use a mapping table (or some kind of bytecode if a
simple table is not powerful enough) loaded from a binary file? Using CC
for this sounds like something done just for the hack value...
(
Log in to post comments)