VSC-WebGPU: A Selenium-based VS Code Extension For Local Edit And Cloud Compilation on WebGPU

Hao Bai
6/13/2022
cs.NIcs.SE

Official code: BiEchi/ece408-remote-control (5 stars, JavaScript, GPL-3.0, last commit 2022-03-18).

Abstract

With the rapid development of information transmission, Software as a Service (SaaS) is developing at a rapid speed that everything originally local tends to be transplanted onto servers and executed on the cloud. WebGPU is such a SaaS system that it holds the GPU-equipped server to execute students' CUDA code and releases the RESTful front-end website for students to write their code on.

Show full abstract

However, programming on an HTML-based interface is not satisfactory due to a lack of syntax highlighting and automatic keyword complement. On the other side, Visual Studio Code is now becoming the most popular programming interface due to its strong community and eclectic functionalities. Thus, we propose such a system that, students write code locally using VS Code with its coding-auxiliary extensions, and push the code to WebGPU with only one button pressed using our VSC-WebGPU extension. The extension is divided into 4 parts: the login process for automatically logging the student into WebGPU, the pull process that pulls the code down to the local workspace, the push process that copies the code to the browser for compiling and running, and the exit process to exit the browser and close the connection. This 4-step architecture is also applicable for any other automated tools to push local code to authorization-required SaaS systems using Web automata.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

This is the public file for developing the new VS Code interface for ECE 408 in UIUC.

50JavaScript, CudaSep 15, 20214 years agoGPL-3.0

Similar Papers

Cite this paper

@article{bai2022vscwebgpu,
  title  = {VSC-WebGPU: A Selenium-based VS Code Extension For Local Edit And Cloud Compilation on WebGPU},
  author = {Hao Bai},
  year   = {2022},
  eprint = {2206.06428},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.06428}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.06428.svg)](https://codeofpaper.com/paper/2206.06428)

Discussion