Title :
Interactive computer-aided code vectorization
Author :
Sawadsitang, Suttinee ; Suankaewmanee, Kongrath ; Shyh-hao Kuo ; Bhumiratana, Bhume
Author_Institution :
Dept. of Comput. Eng., King Monkut´´s Univ. of Technol. Thonburi, Thonburi, Thailand
fDate :
May 30 2012-June 1 2012
Abstract :
Traditionally, programmer learns to write code using arrays and loops to perform complex computation. Languages designed specifically for scientific computation such as Matlab/Octave support vector based operations which are much faster than arrays and loops. However, converting the loop oriented code to a vector based operation requires skilled programmer, takes time, and introduces many errors. This paper presents an easy to use, interactive web application based system that automatically detect for loops that can be automatically vectorized, allowing the programmer to simply selects which for loop to convert into a vector equivalent operation, debug the output and compare the performance gained. The goal is to ease the task of learning and applying code vectorization techniques. We extended Octave with additional operations to automatically detect possible loop vectorization, and implemented a web application that hides the Octave command line complexity by automatically generating necessary Octave command. Therefore, the user is able to use the tool to learn and use code vectorization tool with ease. The system is built with two goals in mind, ease the manual work of vectorizing loop operations, and enable interactive learning of code vectorization concept.
Keywords :
Internet; high level languages; interactive systems; program control structures; Matlab-Octave support vector based operations; Octave command line complexity; arrays; high-level interpreted language; interactive Web application based system; interactive computer-aided code vectorization; interactive learning; languages; loop oriented code; loop vectorization; output debugging; vector based operation; vector equivalent operation; HTML; Programming; Timing; User interfaces; Vectors; Web services; XML;
Conference_Titel :
Computer Science and Software Engineering (JCSSE), 2012 International Joint Conference on
Conference_Location :
Bangkok
Print_ISBN :
978-1-4673-1920-1
DOI :
10.1109/JCSSE.2012.6261981