u/Easy_Pin_9346

Zed feels heavy on old machine

I am using ArchLinux, my system has 4000 Graphic Card. Zed uses almost full gpu and cpu while vscode is super light. Why? Experts turn on bulb of knowladge.

reddit.com
u/Easy_Pin_9346 — 8 days ago
▲ 39 r/learnrust+1 crossposts

Built a zero-copy CSV scanner in Rust from scratch — no csv crate, no AI writing the code.

This started as a learning project . While building it I accidentally learned byte-level char comparison and realized I could push it further.

Results on 2M rows (224MB):

- 287 MB/s throughput

- 779ms total

- Faster than the csv crate on my machine

How it works: instead of allocating strings per field, it stores byte offsets (start, end) into the raw buffer. Zero heap allocation per field. The bottleneck is now disk I/O, not the parser.

Still early — no iterator API yet, delimiter is hardcoded to comma, exact match search only. But it works correctly including buffer boundary handling.

GitHub: https://github.com/ahmadzafarcs/zirc

Looking for honest feedback — especially on the buffer boundary handling and anything I'm doing wrong that I can't see yet.

u/Easy_Pin_9346 — 8 days ago

Guys, last week I converted to Arch linux and using KDE PLASMA. My system is DELL Latitude e6430 with 8GB RAM and 128GB SSD.
I specifically want performance on my old laptop but it give me hard time. When I am using Chrome, Firefox, ZED, VS-Code. My cpu runs to 100%. When I use just one of them at a time cpu is at 60% with GPU (4000). I download relevent drivers. My system lags mostly. It's soooo frustrating and unbelieveable with linux.
Windows with WSL gives more smooth performance than this arch kde plasma.
What should I need to do?

reddit.com
u/Easy_Pin_9346 — 16 days ago