1361
you are viewing a single comment's thread
view the rest of the comments
[-] AusatKeyboardPremi@lemmy.world 0 points 6 months ago

Given it is a CPU is limiting the parsing of the file, I wonder how a GPU-based editor like Zed would handle it.

Been wanting to test out the editor ever since it was partially open sourced but I am too lazy to get around doing it

[-] icesentry@lemmy.ca 25 points 6 months ago

That's not how this works, GPUs are fast because the kind of work they do is embarrassingly parallel and they have hundreds of cores. Loading a json file is not something that can be trivially parallelized. Also, zed use the gpu for rendering, not reading files.

[-] You999@sh.itjust.works 8 points 6 months ago

I'd like to point out for those who aren't in the weeds of silicon architecture, 'embarrassingly parellel' is the a type of computation work flow. It's just named that because the solution was an embarrassingly easy one.

[-] technohacker@programming.dev 2 points 6 months ago

Huh, I was about to correct you on the use of embarrassment in that the intent was to mean a large amount, but it seems a Wiki edit reverted it to your meaning a year ago, thanks for making me check!

[-] AVincentInSpace@pawb.social 12 points 6 months ago

i hate to break it to you bud but all modern editors are GPU based

[-] agelord@lemmy.world 10 points 6 months ago

As far as my understanding goes, Zed uses the GPU only for rendering things on screen. And from what I've heard, most editors do that. I don't understand why Zed uses that as a key marketing point

[-] porous_grey_matter@lemmy.ml 5 points 6 months ago

To appeal to people who don't really understand how stuff works but think GPU is AI and fast

this post was submitted on 14 May 2024
1361 points (99.1% liked)

Programmer Humor

32576 readers
1064 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS