{"id":{"repo_id":"uvic","oai_identifier":"oai:dspace.library.uvic.ca:1828/18516"},"canonical_url":"https://search.ndltd.org/etd/uvic/oai:dspace.library.uvic.ca:1828/18516","repository":{"repo_id":"uvic","name":"University of Victoria (Canada)","base_url":"https://dspace.library.uvic.ca/server/oai/request"},"display":{"title":"A Caching compiler for C","abstract":"Conventional C compilers tend to spend a great deal of time processing text contained in header files. Worse yet, the same text may be processed over and over. This occurs when a programmer is either engaged in the repetitive edit-compile-debug cycle or when a mas­sive compilation is performed and the same header files are repeatedly included by several compilation units. One approach to this problem has been to design compilers which use precompiled versions of header files that can be processed much more rapidly than the original source text of the header files. The primary drawback of this strategy is that the meaning of a header file is contextually dependent on where it is included. Since precom­piled headers must be generated in advance then, in instances where the current compila­tion context does not match the context in which the header was precompiled, the source text of the header file must be reprocessed. We present a more general, transparent, adap­tive scheme whereby internal representations of header files are generated and reused as actual compilations are carried out. The principal benefit is that context information is taken directly from real compilations and if the context changes then new internal representations can be generated automatically. Our scheme performs at least as well as implementations using precompiled headers, but is more general and completely transparent to the user. It achieves savings of 60% on average in the repetitive case and 40% in the massive case over the conventional compiler from which the compilation server was derived. The improvement comes at the expense of some increased use of memory resources.","abstract_html":"Conventional C compilers tend to spend a great deal of time processing text contained in header files. Worse yet, the same text may be processed over and over. This occurs when a programmer is either engaged in the repetitive edit-compile-debug cycle or when a mas­sive compilation is performed and the same header files are repeatedly included by several compilation units. One approach to this problem has been to design compilers which use precompiled versions of header files that can be processed much more rapidly than the original source text of the header files. The primary drawback of this strategy is that the meaning of a header file is contextually dependent on where it is included. Since precom­piled headers must be generated in advance then, in instances where the current compila­tion context does not match the context in which the header was precompiled, the source text of the header file must be reprocessed. We present a more general, transparent, adap­tive scheme whereby internal representations of header files are generated and reused as actual compilations are carried out. The principal benefit is that context information is taken directly from real compilations and if the context changes then new internal representations can be generated automatically. Our scheme performs at least as well as implementations using precompiled headers, but is more general and completely transparent to the user. It achieves savings of 60% on average in the repetitive case and 40% in the massive case over the conventional compiler from which the compilation server was derived. The improvement comes at the expense of some increased use of memory resources.","abstract_has_math":false,"creators":["Koehler, Brian Keith"],"institution":null,"degree_name":null,"degree_level":"Master of Science M.Sc.","degree_discipline":null,"degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":1994,"date_issued":"1994","date_published":"1994","updated_at":"2026-11-19T09:40:54Z","subjects":[],"languages":[],"rights":["Available to the World Wide Web"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1828/18516","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1828/18516","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://dspace.library.uvic.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.library.uvic.ca%3A1828%2F18516","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Koehler, Brian Keith"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-08-14T18:34:13Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-08-14T18:34:13Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["1994"]},{"key":"dc:date.issued","label":"Date","values":["1994"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Department of Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science M.Sc."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["Available to the World Wide Web"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1828/18516"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Conventional C compilers tend to spend a great deal of time processing text contained in header files. Worse yet, the same text may be processed over and over. This occurs when a programmer is either engaged in the repetitive edit-compile-debug cycle or when a mas­sive compilation is performed and the same header files are repeatedly included by several compilation units. One approach to this problem has been to design compilers which use precompiled versions of header files that can be processed much more rapidly than the original source text of the header files. The primary drawback of this strategy is that the meaning of a header file is contextually dependent on where it is included. Since precom­piled headers must be generated in advance then, in instances where the current compila­tion context does not match the context in which the header was precompiled, the source text of the header file must be reprocessed. We present a more general, transparent, adap­tive scheme whereby internal representations of header files are generated and reused as actual compilations are carried out. The principal benefit is that context information is taken directly from real compilations and if the context changes then new internal representations can be generated automatically. Our scheme performs at least as well as implementations using precompiled headers, but is more general and completely transparent to the user. It achieves savings of 60% on average in the repetitive case and 40% in the massive case over the conventional compiler from which the compilation server was derived. The improvement comes at the expense of some increased use of memory resources."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["82 pages"]},{"key":"dc:title","label":"Title","values":["A Caching compiler for C"]}]}],"canonical_facts":{"dc:creator":["Koehler, Brian Keith"],"dc:date.accessioned":["2024-08-14T18:34:13Z"],"dc:date.available":["2024-08-14T18:34:13Z"],"dc:date.copyright":["1994"],"dc:date.issued":["1994"],"dc:description.abstract":["Conventional C compilers tend to spend a great deal of time processing text contained in header files. Worse yet, the same text may be processed over and over. This occurs when a programmer is either engaged in the repetitive edit-compile-debug cycle or when a mas­sive compilation is performed and the same header files are repeatedly included by several compilation units. One approach to this problem has been to design compilers which use precompiled versions of header files that can be processed much more rapidly than the original source text of the header files. The primary drawback of this strategy is that the meaning of a header file is contextually dependent on where it is included. Since precom­piled headers must be generated in advance then, in instances where the current compila­tion context does not match the context in which the header was precompiled, the source text of the header file must be reprocessed. We present a more general, transparent, adap­tive scheme whereby internal representations of header files are generated and reused as actual compilations are carried out. The principal benefit is that context information is taken directly from real compilations and if the context changes then new internal representations can be generated automatically. Our scheme performs at least as well as implementations using precompiled headers, but is more general and completely transparent to the user. It achieves savings of 60% on average in the repetitive case and 40% in the massive case over the conventional compiler from which the compilation server was derived. The improvement comes at the expense of some increased use of memory resources."],"dc:format.extent":["82 pages"],"dc:identifier.uri":["https://hdl.handle.net/1828/18516"],"dc:rights":["Available to the World Wide Web"],"dc:title":["A Caching compiler for C"],"dc:type":["Thesis"],"thesis:degree_department":["Department of Computer Science"],"thesis:degree_level":["Master of Science M.Sc."]},"updated_at":"2026-11-19T09:40:54Z"}