Company
Date Published
Author
Alex Suraci
Word count
5100
Language
English
Hacker News points
248

Summary

The author of this blog post replaced their React frontend with a WebAssembly (WASM) based interface built in Go, a programming language they are familiar with. The goal was to unify the codebases for both Dagger Cloud and the terminal UI, eliminate duplication, and deliver a crisp and snappy Web UI while maintaining performance and consistency across all interfaces. Despite some initial challenges, such as the memory usage limit of WASM applications, the team overcame these obstacles through careful design and optimization. The new interface has resulted in improved performance, lower memory usage, and a more consistent user experience. However, the author notes that this approach may not be suitable for everyone and cautions against making front-ends in Go unless you have a strong reason to do so.