论文标题

VSC-WEBGPU:基于硒的VS代码扩展名,用于WebGPU上的本地编辑和云编译

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

论文作者

Bai, Hao

论文摘要

随着信息传输的快速开发,软件作为服务(SaaS)正在以快速速度开发,该速度最初局部的所有内容都倾向于将其移植到服务器上并在云上执行。 WebGPU是一个SaaS系统,它持有配备GPU的服务器来执行学生的CUDA代码,并释放宁静的前端网站,供学生编写其代码。但是,由于缺乏语法突出显示和自动关键字互补,因此基于HTML的接口上的编程并不令人满意。另一方面,由于其强大的社区和折衷的功能,Visual Studio代码现在已成为最受欢迎的编程界面。因此,我们提出了一个系统,学生使用与编码辅助扩展名的VS代码在本地编写代码,并将代码仅使用我们的VSC-WEBGPU扩展程序按下一个按钮将代码推向WebGPU。扩展名分为4个部分:将学生自动记录到WebGPU中的登录过程,将代码拉到本地工作区的拉动过程,将代码复制到浏览器以进行编译和运行的推动过程以及退出过程以退出浏览器并关闭连接。此4步体系结构也适用于使用Web Automata将本地代码推向授权的SaaS系统的任何其他自动化工具。

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. 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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源