Lets make an htop-like in your browser (with Rust) @fasterthanlime
Lets make an htop-like in your browser (with Rust)  @fasterthanlime
Uploaded March 2023 | Updated September 2026, 3 weeks ago
Follow me on Mastodon: hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: fasterthanli.me/donate

You can find the code at: github.com/fasterthanlime/axact

Contents

00:00 Adding tokio & axum
03:45 Pushing it to GitHub
04:19 Measuring CPU usage with sysinfo
11:05 Adding a JSON endpoint
14:03 Serving HTML
17:20 A dynamic page with Vanilla JS
21:50 Using preact and htm without a bundler
26:43 From text to styled div soup
31:41 Bridging sync & async Rust
36:02 Suddenly lock contention
38:33 Who doesn't love websockets
42:56 websocat and the load-bearing semi-colon
45:17 Consuming Websockets from JS
47:06 Using tokio's broadcast channel
50:39 Thanks for watching
Lets make an htop-like in your browser (with Rust)AoC Day 19, Rewrite it in Rust EditionI ported h2spec to Rust (also: codegen!)strace feels like magic — let’s fix that (with Rust)I bought us a Zed feature with cookiesOn an austistic scale of 1 to 10...So basically you built a normal CMS?A Fistful of Megabytes (In defense of Electron)POV: Im on my third coffee and you just asked me how the internet worksApple Musics Win11 app is beta for a reasonAoc Day 18, Rewrite it in Rust editionYES, zig should 100% divorce LLVM ✨
fasterthanlime |

Let's make an htop-like in your browser (with Rust)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER