Project ideas from Hacker News discussions.

Zed editor switching graphics lib from blade to wgpu

📝 Discussion Summary (Click to expand)

1. WebGPU/WGPU is a double‑edged sword
- “WebGPU has some surprising performance problems … a well‑made Metal renderer will easily be 100× smaller.” – flohofwoe
- “WGPU is just a layer over the top of the native APIs … it will be slower or at least not much better.” – swiftcoder
- “The WebGPU API gets you to rendering your first triangle quicker … but it lags behind what you can do directly in DX or VK.” – pornel

2. Rust GUI libraries are still immature and fragmented
- “Open source GUI development is perpetually cursed by underestimating the difficulty of the problem.” – api
- “Iced is a passion project by a single developer … it will have to be forked and a community development model built around it.” – tensor
- “GPUI is a low‑level library that Zed built for itself; the community has to build the components.” – the__alchemist

3. Switching Zed’s Linux renderer to WGPU raises memory‑usage and performance questions
- “They felt their native renderer on those platforms was better and less memory intensive.” – nu11ptr
- “Current wgpu seems to have a floor around ~100 mb that isn’t there with other rendering backends.” – nicoburns
- “WGPU is a compatibility layer, adding more code – will it make Zed slower?” – amelius

4. Zed’s value proposition versus established editors (VS Code, nvim, JetBrains)
- “Zed competes mostly against Visual Studio Code. Not against JetBrains.” – qznc
- “Zed is fast, has good project‑wide search, and AI integration, but lacks some IDE‑style refactoring.” – linolevan / kylecazar
- “Zed is a native editor that feels snappy and has AI features, but it still crashes and has limited plugins.” – trcf23 / r4nd0m4ch

These four threads capture the bulk of the discussion: the trade‑offs of adopting WebGPU, the state of Rust GUI tooling, the practical impact of Zed’s renderer change, and how Zed stacks up against other editors.


🚀 Project Ideas

RustyWidgets

Summary

  • A lightweight, fully‑Rust component library that fills the gaps in GPUI and other Rust GUI crates (buttons, tables, virtual lists, accessibility, theming).
  • Provides a stable, well‑documented API that can be dropped into any Rust desktop or web project.

Details

Key Value
Target Audience Rust developers building desktop or web apps who need ready‑made UI widgets.
Core Feature A curated set of high‑quality, accessible widgets with virtualized lists and theming support.
Tech Stack Rust, wgpu (for rendering), winit (windowing), parley (text layout), palette (color).
Difficulty Medium
Monetization Hobby

Notes

  • GPUI users complain “no built‑in buttons, tables, or virtual lists” – RustyWidgets addresses that.
  • “I’d love a fresh framework that is more aligned with the rust ecosystem” – this library is built from scratch in Rust, no unsafe wrappers.
  • Enables rapid prototyping and reduces the need to write boilerplate UI code.

ZedWebPort

Summary

  • A minimal, production‑ready web renderer for Zed that runs in the browser via WebGPU, enabling “Zed in the browser” without heavy Electron overhead.
  • Keeps the same editor experience while leveraging the browser’s sandbox and network stack.

Details

Key Value
Target Audience Zed users who want to run the editor in a browser or embed it in web apps.
Core Feature WebGPU‑based rendering, WASM‑compiled Zed core, browser‑friendly filesystem APIs.
Tech Stack Rust → WASM, wgpu, web-sys, wasm-bindgen, Rust‑async‑std.
Difficulty High
Monetization Revenue‑ready: subscription tier for enterprise‑grade web hosting and support.

Notes

  • “Zed in a browser” is a pain point; the community wants a lightweight web version.
  • “Running Zed on a cheap AWS EC2 instance” – this solution can be deployed on any cloud with GPU support.
  • Opens up new use cases: code‑pen style editors, embedded IDEs in Git hosting sites.

ZedPlug

Summary

  • A plugin manager and marketplace for Zed that simplifies installing LSPs, AI agents, refactoring tools, and UI extensions.
  • Provides a declarative config format and a CLI for managing plugins.

Details

Key Value
Target Audience Zed users and developers who want a curated, easy way to extend the editor.
Core Feature Declarative plugin spec, auto‑install, version pinning, sandboxed execution.
Tech Stack Rust, serde, toml, async‑std, zed‑api.
Difficulty Medium
Monetization Hobby

Notes

  • “Lack of plugin ecosystem” and “no easy way to add LSPs or AI agents” are recurring frustrations.
  • “Directing all support questions to Discord” – ZedPlug centralizes support and documentation.
  • Encourages community contributions and reduces friction for new users.

CrossRustUI

Summary

  • A unified Rust UI framework that compiles to native (Windows/macOS/Linux), web (WASM), and mobile (iOS/Android) with a single component library.
  • Uses a retained‑mode core with optional immediate‑mode helpers, aiming for performance and accessibility.

Details

Key Value
Target Audience Rust developers building cross‑platform apps who want a single codebase.
Core Feature Shared component API, platform‑specific renderers (wgpu, metal, vulkan, webgl), accessibility hooks.
Tech Stack Rust, winit, wgpu, iced‑core, slint‑core, wasm-bindgen.
Difficulty High
Monetization Revenue‑ready: enterprise licensing for commercial apps.

Notes

  • “Rust GUI ecosystem is still not mature” – CrossRustUI provides a single, well‑maintained framework.
  • “Need a true cross‑platform solution for mobile, web, and desktop” – this solves that.
  • “Lack of accessibility” is addressed with built‑in screen‑reader support and semantic roles.

GuiPerfBench

Summary

  • A benchmarking suite that profiles Rust GUI frameworks (GPUI, iced, egui, slint, etc.) on CPU, memory, GPU usage, and frame latency across platforms.
  • Provides visual dashboards and automated CI integration.

Details

Key Value
Target Audience Rust GUI developers, framework maintainers, performance‑critical app builders.
Core Feature Automated micro‑benchmarks, real‑time profiling, comparative reports.
Tech Stack Rust, criterion, tokio, wgpu, winit, plotters.
Difficulty Medium
Monetization Hobby

Notes

  • “Performance problems with WebGPU” and “wgpu has a 100 MB floor” – GuiPerfBench quantifies these claims.
  • Helps developers choose the right backend and guides framework contributors on optimization targets.
  • Encourages community discussion around “wgpu vs. custom renderers” with data.

Read Later