» Rust: Make Web Chat App with Socket.IO » 1. Introduction » 1.1 Preparation


Install Rust

See How to install Rust?.

Note: This project uses rustc 1.77.2.

Pick an editor

Pick your favorite editor or use Visual Studio Code.

Learn Rust basics

If you're not familiar with Rust, you may try this tutorial: "Quick Introduction to Rust."

What is Websocket?

The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

What is Socket.IO?

Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server. In most cases, the connection will be established with WebSocket, providing a low-overhead communication channel between the server and the client. In case the WebSocket connection is not possible, it will fall back to HTTP long-polling.