ksp [il/lui]@jlai.lu to Linux@lemmy.mlEnglish · edit-22 months agoZed on Linux is out!zed.devexternal-linkmessage-square176fedilinkarrow-up1406file-textcross-posted to: linux@programming.devzed@programming.devrust@lemmy.mlprogramming@programming.devfoss@beehaw.org
arrow-up1406external-linkZed on Linux is out!zed.devksp [il/lui]@jlai.lu to Linux@lemmy.mlEnglish · edit-22 months agomessage-square176fedilinkfile-textcross-posted to: linux@programming.devzed@programming.devrust@lemmy.mlprogramming@programming.devfoss@beehaw.org
Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.
minus-squarearamus@lemmy.worldlinkfedilinkarrow-up39·2 months agoI still don’t understand why I should need GPU acceleration for my fucking TEXT EDITOR
minus-squareFlorianSimon@sh.itjust.workslinkfedilinkarrow-up51·2 months agoProbably because it’s more efficient. GPUs are designed to render things, which editors do. In a text editor, you’re effectively rendering fonts over a fixed background, which I assume is pretty efficient using the GPU. We’re not talking about crazy 3D effects here. Yay to battery savings!
minus-squarebooly@sh.itjust.workslinkfedilinkarrow-up5·2 months agoShouldn’t the DE/Window Manager be handling that? Seems like doing it on a window by window basis would be inefficient (and look inconsistent).
minus-squareAProfessional@lemmy.worldlinkfedilinkEnglisharrow-up20·2 months agoThat’s a totally unrelated part of the stack. These days you just have a compositor that combines the output of applications. The model of out of process rendering in Xorg was done pre-2000s but GPUs became the norm and don’t work well this way.
minus-squareleopold@lemmy.kde.sociallinkfedilinkEnglisharrow-up8·2 months agoThe job of the window manager is to manage windows and very little else. Font rendering is done by the widget toolkit, usually via freetype/harfbuzz.
minus-squareFlorianSimon@sh.itjust.workslinkfedilinkarrow-up7·2 months agoThink about battery life too 🎉
minus-squarenaught@sh.itjust.workslinkfedilinkarrow-up16·2 months agoI mean, it should be clear. Smooth and fast and snappy. If you don’t want that, use neovim like me :)
minus-squarema1w4re@lemm.eelinkfedilinkarrow-up4·2 months agoBut… Neovim is smooth, fast and snappy 😭
minus-squarenaught@sh.itjust.workslinkfedilinkarrow-up3·2 months agoHold down j and lmk how smooth it is 😅
minus-squareMialinkfedilinkarrow-up3·2 months agoTerminals applications are, by definition, not smooth. You can’t have smooth scrolling, or anything else really, with a text grid.
minus-squarema1w4re@lemm.eelinkfedilinkarrow-up1·2 months agoIdk I’m so used to working in terminal I don’t really notice that. For my eyes, it’s smooth enough
minus-squareelectricprism@lemmy.mllinkfedilinkarrow-up5·2 months agoSmooth scrolling? Maybe I’m wrong
I still don’t understand why I should need GPU acceleration for my fucking TEXT EDITOR
Probably because it’s more efficient. GPUs are designed to render things, which editors do. In a text editor, you’re effectively rendering fonts over a fixed background, which I assume is pretty efficient using the GPU.
We’re not talking about crazy 3D effects here.
Yay to battery savings!
Shouldn’t the DE/Window Manager be handling that? Seems like doing it on a window by window basis would be inefficient (and look inconsistent).
That’s a totally unrelated part of the stack. These days you just have a compositor that combines the output of applications.
The model of out of process rendering in Xorg was done pre-2000s but GPUs became the norm and don’t work well this way.
The job of the window manager is to manage windows and very little else. Font rendering is done by the widget toolkit, usually via freetype/harfbuzz.
Sppeeed
Think about battery life too 🎉
I mean, it should be clear. Smooth and fast and snappy. If you don’t want that, use neovim like me :)
But… Neovim is smooth, fast and snappy 😭
Hold down
j
and lmk how smooth it is 😅😭😭😭
Terminals applications are, by definition, not smooth. You can’t have smooth scrolling, or anything else really, with a text grid.
Idk I’m so used to working in terminal I don’t really notice that. For my eyes, it’s smooth enough
Smooth scrolling? Maybe I’m wrong