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

Programmer Humor

32051 readers
1677 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
[–] AusatKeyboardPremi@lemmy.world 0 points 4 months ago (6 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

[–] icesentry@lemmy.ca 25 points 4 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.

[–] You999@sh.itjust.works 8 points 4 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.

[–] technohacker@programming.dev 2 points 4 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!

load more comments (4 replies)