← Sun, Nov 8 digest

ZapFast: A fast, native WhatsApp client in Rust and egui

read article ↗ hn thread ↗

ZapFast is an unofficial, native desktop WhatsApp client written in Rust and egui that uses less memory than WhatsApp Web, though it risks account bans.

summary is enough The announcement details a neat Rust project, but the discussion on immediate-mode UI rendering and account ban risks provides the real value.

summary

ZapFast is a lightweight, cross-platform WhatsApp desktop client built in Rust using the egui framework and whatsapp-rust library. It links to a mobile device as a companion, operating without a browser engine while consuming significantly less memory than official web wrappers. However, using unofficial clients violates WhatsApp's terms of service, carrying a real risk of account suspension. Commenters debate the choice of egui for desktop rendering and whether 200 MB of RAM is genuinely lightweight for a Rust application.

key points

  1. ZapFast consumes around 200 MB of idle RAM on Linux and launches in under a second, compared to over 1 GB for WhatsApp Web.
  2. Built entirely in Rust using the egui immediate-mode GUI framework and whatsapp-rust for protocol handling, avoiding browser overhead.
  3. Using unofficial WhatsApp clients violates terms of service and can lead to permanent account suspension.

who should read it

Rust developers, desktop Linux users, and anyone interested in alternative lightweight client architectures.

discussion mixed

consensus

Most commenters agree that while lightweight native clients are appealing, the risk of getting banned by WhatsApp makes using unofficial clients impractical.

pushback

Technical debate centers on whether egui's immediate-mode rendering is appropriate for desktop applications and whether 200 MB is too bloated for a Rust app.

best comment by codedokode ↗

Egui is pretty bad idea. It uses "immediate mode" rendering which means whole window is redrawn on every mouse move. I ran PhotoCraft (built in Rust + egui) in a VM wihout a GPU and the UI felt like it was running on 3 fps. If you use egui, try running it without a GPU before releasing.

Egui is definitely not what you want to use on a 4K screen. It is only good for tiny screens of embedded devices.

Why there is no reactive UI that tracks all dependencies and redraws only what needs to be redrawn? (not React, it also re-calculates (but not redraws) everything on every change).

Also why does …

It offers a sharp technical critique of egui's performance limitations on high-resolution displays and systems without dedicated GPUs.

Generated by an LLM from the article and thread. Check the sources before relying on it.