Source to source compiler for the automatic parallelization of JavaScript code
Abstract
This work focuses on the development of a source-to-source compiler for the automatic parallelization of JavaScript code. The proposed compiler transforms the input code to an AST (Abstract syntax tree). Afterward, we applied a dependence analysis, followed by fusion and fission techniques. As a later part, new portions of code are inserted to parallelize specific sections of the original program. From the modified AST obtained, we return a new JavaScript code. From our experimentations, we can conclude that our solution reduces the execution time by parallelizing loops, but only if they do not use significant amounts of data, and the complexity of them is not concentrated in a small number of iterations.
How to cite
Diaz Baskakov, S. & Gutierrez Cardenas, J. (2021). Source to source compiler for the automatic parallelization of JavaScript code. In Proceedings of the 2021 IEEE 28th International Conference on Electronics, Electrical Engineering and Computing, INTERCON 2021, Lima, Peru, August 2021. https://doi.org/10.1109/INTERCON52678.2021.9532645Publisher
IEEESubject
Collections