Polyglot programming is gaining popularity as developers integrate multiple programming languages to harness their individual strengths. With the recent popularity of platforms like GraalVM and other multi-language runtimes, creating and managing these systems has become much more feasible. However, current research on analyzing multilingual programs mainly focuses on two languages, leaving out the increasing complexity of systems that use three or more. For example, modern web systems often link JavaScript, WebAssembly, and Rust within the same execution chain. This paper envisions the landscape of software systems with three-language polyglot communication. We identify fundamental challenges in analyzing them and propose a conceptual roadmap to advance static analysis techniques to address them. Our vision aims to stimulate discussion and inspire new research directions toward scalable, language-agnostic analysis frameworks for next-generation polyglot systems.
翻译:随着开发者整合多种编程语言以发挥各自优势,多语言编程正日益普及。随着GraalVM等跨语言运行时平台的兴起,创建和管理这类系统已变得更为可行。然而,当前针对多语言程序分析的研究主要集中于两种语言,未能涵盖使用三种及以上语言的系统日益增长的复杂性。例如,现代Web系统常在同一执行链中联动JavaScript、WebAssembly与Rust。本文展望了涉及三种语言混合通信的软件系统图景,识别了其分析中的核心挑战,并提出推进静态分析技术以应对这些挑战的概念性路线图。我们的愿景旨在激发讨论,并为下一代多语言系统可扩展、语言无关的分析框架开辟新的研究方向。