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

Programmer Humor

32461 readers
713 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 6 months ago (3 children)

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

[–] [email protected] 25 points 6 months ago (1 children)

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.

[–] [email protected] 8 points 6 months ago (1 children)

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.

[–] [email protected] 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!

[–] [email protected] 12 points 6 months ago

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

[–] [email protected] 10 points 6 months ago (1 children)

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

[–] [email protected] 5 points 6 months ago

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