EUVIMEDEUVIMED entdecken
Crossref

A Profiling-Based Approach to Type Specialization for Dynamically Typed Languages

Haonan Guo, Hao Hao, Ziye Li, Xiaohua Shi

International Journal of Software Engineering and Knowledge Engineering · 31.10.2026 · 1-25

DOI: 10.1142/s0218194026420027 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Software Engineering and Knowledge Engineering, online erschienen am 31.10.2026. Verfasst von Haonan Guo und 3 weiteren Autor:innen. Die Arbeit nennt 24 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Dynamic typing brings convenience to programming but also poses challenges for compilers to generate efficient code. We propose a profiling-based method that collects type information by warming up and running JavaScript programs. By monitoring program execution and recording the type information of bytecode and variables, a rule-based type inference scheme and a supplementary solution supporting JavaScript source code are presented. With static program analysis and the JavaScript type system, constraints and inferences are applied to variable types to generate more accurate and reliable type information. This paper implements a type inference system that takes JavaScript source code as input and outputs type information files. Experiments on benchmarks such as SunSpider show that, compared with WebAssembly binaries compiled without type information, those with type information achieve an average performance improvement of 6.18% and a maximum performance improvement of 58.9% in execution efficiency.

Zitieren

APA

Guo, H., Hao, H., Li, Z., & Shi, X. (2026). A Profiling-Based Approach to Type Specialization for Dynamically Typed Languages. International Journal of Software Engineering and Knowledge Engineering, 1-25. https://doi.org/10.1142/s0218194026420027

Vancouver

Guo H, Hao H, Li Z, Shi X. A Profiling-Based Approach to Type Specialization for Dynamically Typed Languages. International Journal of Software Engineering and Knowledge Engineering. 2026:1-25. doi:10.1142/s0218194026420027

BibTeX
@article{Guo2026,
  author = {Guo, Haonan and Hao, Hao and Li, Ziye and Shi, Xiaohua},
  title = {A Profiling-Based Approach to Type Specialization for Dynamically Typed Languages},
  journal = {International Journal of Software Engineering and Knowledge Engineering},
  year = {2026},
  pages = {1--25},
  doi = {10.1142/s0218194026420027}
}
Kostenlos starten →