Skip to main navigation Skip to search Skip to main content

VisOpt - Visualization of Compiler Optimizations for Computer Science Education

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Visualizations in teaching have become a common practice as they effectively convey theoretical concepts. Compiler construction, a heavily theory-based subject in computer science education, is particularly challenging for students to understand. While many tools simulate a compiler's front end, or analysis phase, applications that focus on the back end, or synthesis phase, are scarce. This paper describes VisOpt, a web-based visualization tool designed for a master's level Compiler Construction course. VisOptfocuses on the synthesis phase, i.e., code optimization and code generation. Its primary objective is to help students comprehend various local compiler optimizations, which can be visualized on the original code, an intermediate representation, or an assembler-like target code. A quasi-experiment with a pre-test-post-test design revealed that students who used VisOpt reported higher self-efficacy compared to those who did not. Although no significant improvement in learning outcomes was observed overall, we propose VisOpt as an engaging pedagogical tool that effectively complements traditional methods for teaching the synthesis phase of compilers.
Original languageEnglish
Title of host publicationSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
PublisherAssociation for Computing Machinery (ACM)
Pages603-609
Number of pages7
Volume1
ISBN (Electronic)9798400705311
DOIs
Publication statusPublished - 18 Feb 2025
Event56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025 - Pittsburgh, United States
Duration: 6 Feb 20251 Mar 2025

Publication series

NameSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
Volume1

Conference

Conference56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025
Country/TerritoryUnited States
CityPittsburgh
Period6/02/251/03/25

Keywords

  • Compiler Optimization
  • Compiler Visualization
  • Computer Science Education
  • Simulation software
  • Visualization

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Education

Fingerprint

Dive into the research topics of 'VisOpt - Visualization of Compiler Optimizations for Computer Science Education'. Together they form a unique fingerprint.

Cite this