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.
翻译:随着信息传输的快速发展,软件服务(SaaS)正在快速发展,所有最初本地的软件都倾向于移植到服务器上并在云层上执行。WebGPU是一个SaaS系统,它拥有GPU装备的服务器,可以执行学生的CUDA代码,并发布供学生写入代码的RESTful前端网站。然而,由于基于 HTML 的界面缺乏语法加亮和自动关键词补充,程序程序不尽如人意。另一方面,视觉工作室代码正在成为最受欢迎的编程界面,因为它具有强大的社区性和电子功能。因此,我们建议建立一个系统,让学生使用VSD代码和编码的编码来本地编译代码,使用我们的VSC-WebGPUPL扩展只按一个按钮将代码输入WebGPU。但扩展分为四个部分:将学生自动登录到WebGPUPU的日志进程,将代码拖到本地工作空间,将代码复制到浏览器复制到浏览器的推动过程,将用户浏览器复制到用于编辑和运行系统的其他自动浏览器。S-qualstrual-lipperma 进程也将自动推进其他浏览器。