{"id":{"repo_id":"buffalo","oai_identifier":"oai:ubir.buffalo.edu:10477/90723"},"canonical_url":"https://search.ndltd.org/etd/buffalo/oai:ubir.buffalo.edu:10477/90723","repository":{"repo_id":"buffalo","name":"Buffalo","base_url":"https://ubir.buffalo.edu/oai/request"},"display":{"title":"ASTRAL: A Framework for Modern SQL Compiler","abstract":"Optimizing compilers and program analysis tools rely heavily on searching large abstract syntax trees (ASTs) for specific patterns to apply rewrite rules. This search is often a major performance bottleneck, particularly for large or complex programs. In this thesis, I develop a declaratively specified framework for SQL compiler optimization that leverages incremental view maintenance(IVM) and work-sharing strategies to efficiently execute large-scale pattern matching and rewriting tasks. I introduce TREETOASTER an AST-specialized IVM technique implemented within the JITD framework, a just-in-time data structure compiler. JITD materializes and incrementally maintains views of AST nodes eligible for rewrites, effectively eliminating the need for repeated, costly traversals during optimization. By combining compiler-specific optimizations with classical database techniques such as inlining and IVM, TREETOASTER dramatically reduces the cost of pattern matching while maintaining minimal memory overhead. Building on these insights, I present ASTRAL, the AST-Relational Algebra, a declarative language for expressing compiler analyses and rewrite rules. ASTRAL bridges idiomatic compiler logic and relational query processing, allowing compiler authors to write transformations declaratively while automatically benefiting from database-style optimizations like IVM and work sharing. Together, these systems demonstrate how declarative specification, incremental view maintenance, and work-sharing techniques can be combined to produce compiler frameworks that are both high-performance and maintainable, offering a path toward scalable, declaratively optimized compilation.","abstract_html":"Optimizing compilers and program analysis tools rely heavily on searching large abstract syntax trees (ASTs) for specific patterns to apply rewrite rules. This search is often a major performance bottleneck, particularly for large or complex programs. In this thesis, I develop a declaratively specified framework for SQL compiler optimization that leverages incremental view maintenance(IVM) and work-sharing strategies to efficiently execute large-scale pattern matching and rewriting tasks. I introduce TREETOASTER an AST-specialized IVM technique implemented within the JITD framework, a just-in-time data structure compiler. JITD materializes and incrementally maintains views of AST nodes eligible for rewrites, effectively eliminating the need for repeated, costly traversals during optimization. By combining compiler-specific optimizations with classical database techniques such as inlining and IVM, TREETOASTER dramatically reduces the cost of pattern matching while maintaining minimal memory overhead. Building on these insights, I present ASTRAL, the AST-Relational Algebra, a declarative language for expressing compiler analyses and rewrite rules. ASTRAL bridges idiomatic compiler logic and relational query processing, allowing compiler authors to write transformations declaratively while automatically benefiting from database-style optimizations like IVM and work sharing. Together, these systems demonstrate how declarative specification, incremental view maintenance, and work-sharing techniques can be combined to produce compiler frameworks that are both high-performance and maintainable, offering a path toward scalable, declaratively optimized compilation.","abstract_has_math":false,"creators":["Balakrishnan, Darshana; 0009-0007-6106-0997"],"institution":"State University of New York at Buffalo","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Kennedy, Oliver","Computer Science and Engineering"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T07:11:10Z","subjects":["computer science"],"languages":["eng"],"rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10477/90723","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"https://hdl.handle.net/10477/90723","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abuffalo%3Aoai%3Aubir.buffalo.edu%3A10477%2F90723","prefix":"oai_dc"},"source_record":{"url":"https://ubir.buffalo.edu/oai/request?verb=GetRecord&metadataPrefix=qdc&identifier=oai%3Aubir.buffalo.edu%3A10477%2F90723","prefix":"qdc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Kennedy, Oliver","Computer Science and Engineering"]},{"key":"dc:creator","label":"Author","values":["Balakrishnan, Darshana; 0009-0007-6106-0997"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-04-17T22:22:42Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-04-17T22:22:42Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-04-17T22:22:42Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["State University of New York at Buffalo"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://hdl.handle.net/10477/90723"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Optimizing compilers and program analysis tools rely heavily on searching large abstract syntax trees (ASTs) for specific patterns to apply rewrite rules. This search is often a major performance bottleneck, particularly for large or complex programs. In this thesis, I develop a declaratively specified framework for SQL compiler optimization that leverages incremental view maintenance(IVM) and work-sharing strategies to efficiently execute large-scale pattern matching and rewriting tasks. I introduce TREETOASTER an AST-specialized IVM technique implemented within the JITD framework, a just-in-time data structure compiler. JITD materializes and incrementally maintains views of AST nodes eligible for rewrites, effectively eliminating the need for repeated, costly traversals during optimization. By combining compiler-specific optimizations with classical database techniques such as inlining and IVM, TREETOASTER dramatically reduces the cost of pattern matching while maintaining minimal memory overhead. Building on these insights, I present ASTRAL, the AST-Relational Algebra, a declarative language for expressing compiler analyses and rewrite rules. ASTRAL bridges idiomatic compiler logic and relational query processing, allowing compiler authors to write transformations declaratively while automatically benefiting from database-style optimizations like IVM and work sharing. Together, these systems demonstrate how declarative specification, incremental view maintenance, and work-sharing techniques can be combined to produce compiler frameworks that are both high-performance and maintainable, offering a path toward scalable, declaratively optimized compilation.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"]},{"key":"dc:title","label":"Title","values":["ASTRAL: A Framework for Modern SQL Compiler"]}]}],"canonical_facts":{"dc:contributor":["Kennedy, Oliver","Computer Science and Engineering"],"dc:creator":["Balakrishnan, Darshana; 0009-0007-6106-0997"],"dc:date":["2026-04-17T22:22:42Z"],"dc:date.available":["2026-04-17T22:22:42Z"],"dc:date.created":["2026-04-17T22:22:42Z"],"dc:date.issued":["2026"],"dc:description.abstract":["Optimizing compilers and program analysis tools rely heavily on searching large abstract syntax trees (ASTs) for specific patterns to apply rewrite rules. This search is often a major performance bottleneck, particularly for large or complex programs. In this thesis, I develop a declaratively specified framework for SQL compiler optimization that leverages incremental view maintenance(IVM) and work-sharing strategies to efficiently execute large-scale pattern matching and rewriting tasks. I introduce TREETOASTER an AST-specialized IVM technique implemented within the JITD framework, a just-in-time data structure compiler. JITD materializes and incrementally maintains views of AST nodes eligible for rewrites, effectively eliminating the need for repeated, costly traversals during optimization. By combining compiler-specific optimizations with classical database techniques such as inlining and IVM, TREETOASTER dramatically reduces the cost of pattern matching while maintaining minimal memory overhead. Building on these insights, I present ASTRAL, the AST-Relational Algebra, a declarative language for expressing compiler analyses and rewrite rules. ASTRAL bridges idiomatic compiler logic and relational query processing, allowing compiler authors to write transformations declaratively while automatically benefiting from database-style optimizations like IVM and work sharing. Together, these systems demonstrate how declarative specification, incremental view maintenance, and work-sharing techniques can be combined to produce compiler frameworks that are both high-performance and maintainable, offering a path toward scalable, declaratively optimized compilation.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"],"dc:identifier":["http://hdl.handle.net/10477/90723"],"dc:language":["eng"],"dc:publisher":["State University of New York at Buffalo"],"dc:rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"dc:subject":["computer science"],"dc:title":["ASTRAL: A Framework for Modern SQL Compiler"],"dc:type":["Text","Dissertation"]},"updated_at":"2026-11-19T07:11:10Z"}