Nathan Sobo recently open-sourced Zed, a code editor that focuses on performance, integrates AI capabilities, and supports software teams’ collaboration out of the box. For performance, Zed leverages a Rust code base, multicore- and GPU-optimized code, with a custom Rust GUI framework. For collaboration, Zed relies on CRDTs and team channels. Zed is currently Mac only.

Yup. Especially since it’s written in Rust… Like why? Rust has a great cross-platform story.

@priapus@sh.itjust.works
link
fedilink
English
12
edit-2
8M

they’ve written a custom GPU framework to achieve the performance the level of performance they have. it’s currently only compatible with macos, but is being ported to other operating systems.

@Blackmist@feddit.uk
link
fedilink
English
138M

How much GPU performance do you need for text?

For sure. If 32-year-old vim can handle multi-GB files smoothly, you don’t need a GPU.

I remember when we ran text editors on a turnip. It wasn’t much but we were happy.

Why in the world wouldn’t you just use Vulkan? Then it would still be portable to other platforms with probably still good performance, no?

vulkan is a graphics api, not a framework. their framework is using vulkan.

davawen
link
fedilink
18M

This is wrong. Their framework uses metal, which is an apple only graphics API.

My bad, I was referring to the new Linux implementation which is using Vulkan, which was not clear. The MacOS implementation only supports Metal, as MacOS does not support Vulkan natively. I assume the Vulkan implementation will also be what is used for the Windows build.

If their framework is using Vulkan, why is it not compatible with anything but MacOS? Isn’t the point of Vulkan that it’s cross platform?

It’s not fundamentally incompatible, they just haven’t written the code to make it compatible yet. GPU frameworks need a lot of OS specific code, so it will take some time for them to make it run perfectly on Linux.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog