Real time web applications in Rust

所在平台: Udemy

课程主页: https://www.udemy.com/course/real-time-web-applications-in-rust/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称: Rust中的实时网页应用 课程概述: 本课程旨在教授如何使用Rust编程语言构建实时网页应用,特别关注WebSocket协议。WebSocket是一种计算机通信协议,提供单个TCP连接上的全双工通信通道。该协议有助于在网页浏览器或其他客户端应用与web服务器之间实现低开销的交互,促进实时数据的双向传输。Rust作为一种系统编程语言,具有高性能特点,并配备了极具帮助的编译器,适合用来实现WebSocket服务器,保证了实时应用中所需的可靠性和速度。 随着WebAssembly的出现,Rust现在能够在浏览器中运行,这意味着开发者可以完全使用Rust编写实时聊天应用程序。在本课程中,我们将使用Tokio和Rocket作为后端框架,并结合yew webassembly和trunk作为前端环境,最终构建一个全栈Rust实时聊天应用。在课程过程中,学员将学习如何设置WebSocket连接,发送和接收消息,以及更新应用程序状态。

课程评论(0条)

课程详情

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol enables interaction between a web browser (or other client application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-time data transfer from and to the server.Rust is a systems programming language which you can use to write applications with high performance. It is amazingly refreshing with a very helpful compiler who is your mentor since the very beginning.Given that the WebSocket protocol is key for real-time applications, where reliability and speed matter, it is no wonder that Rust is the best option for implementing WebSocket servers.Also given that Rust can now run in the browser, thanks to WebAssembly, we can also use Rust on the client.Which means that one can code a real-time, chat-like application 100% in just Rust!This is what we will do in this course! We will leverage Tokio and Rocket in the back-end, yew webassembly and trunk in the front-end and we will end up with a full-stack Rust, real-time chat app. While doing that we will learn how to set-up a WebSocket connection, send/receive messages and update out application state.

课程标签

0人关注该课程

主题相关的课程