this post was submitted on 27 Feb 2024
201 points (95.9% liked)
Programming
17378 readers
328 users here now
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
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds cool! Too bad it's only on MacOS atm
They wrote their own GUI toolkit (oof) and it's hardware accelerated (argh), so OS portability is going to be unusually difficult unless they planned for it from the beginning. No mention of that in the article, so I doubt they did.
They already have very experimental Linux support. You have to build whole app yourself though. I'd say that in month or two we'll get a binary. You can track Linux porting progress in this issue
Anybody got a nix flake though?
I mean on the one hand, the hardware acceleration is awesome. The GUI toolkit is not of course (I assume MacOS has a default one to make everything look like it belongs?), but at least they made it look like a native app instead of the usual electron shit where it's clearly a web page with a window border and some design 15y old me might think is cool but 16y old me would already have been ashamed of.
As I understand, GUI toolkits will usually support various widget styles or "Look and Feels".
So, they can just use a glossy graphic for a button on macOS and a flat graphic on Windows 11, without having to reimplement the whole application in the native toolkit. It will usually not feel entirely native, but at least, it won't look out of place...
Its already possible to build manually on linux and there's a tracking issue.
*edit. same as the other post
Sounds like gimp with gtk (gimp toolkit) all over again
Edit: I'm writing this out of my ass, so don't quote me.
They wrote that they GPU(I?)-accelerate the font rendering. Well, indeed, fonts are usually rendered with CPUs because it's slow to use the traditional VRAM (which sits in the GPU) for this task, given that the text itself is stuck in the RAM (sitting right next to the CPU). With integrated chips like the Apple Silicon, it probably makes sense to move the font rendering into the GPU because the memory is unified. GTK is absolutely not designed to do this, AFAIK.
But that also means that, to get this particular benefit of their dedicated GUI framework, you probably have to buy an Apple Silicon Mac. There are PCs with similar architecture, iirc, but that also means that there's no way you can upgrade your GPU or RAM individually in the future... My fear is that, on a standard PC, it might be just as responsive as other editors.
Because GTK is designed for GUI software, and this is a text editor. Almost everything is text - it's got more in common with Vim than Gedit.
Didn’t treesitter come from the Atom editor? These guys always take things really far so this isn’t surprising.
I'm waiting for it to come on Linux.
How would they know a release date if they haven't finished making it yet?
Great question -- would someone ask that of my boss please? 😉