Orbi Camp
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
seaQueue@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

50 million rendered polygons vs one spicy 4.2MB boi

lemmy.world

message-square
15
fedilink
4

50 million rendered polygons vs one spicy 4.2MB boi

lemmy.world

seaQueue@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
15
fedilink
alert-triangle
You must log in or register to comment.
  • themoonisacheese@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Maybe it’s time we invent JPUs (json processing units) to equalize the playing field.

    • seaQueue@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The best I can do is an ML model running on an NPU that parses JSON in subtly wrong and impossible to debug ways

  • Randelung@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Well, do you have dedicated JSON hardware?

  • model_tar_gz@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Would you rather have 100,000 kg of tasty supreme pizza, or 200 kg of steaming manure?

    Choose wisely.

    • Buttons@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Careful, the 100,000 kg of pizza will turn into manure.

      • model_tar_gz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I figure I can probably convert about 10 kg into manure before it autoconverts into compost. Which is maybe even a worse problem.

  • AusatKeyboardPremi@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      cake
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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.

  • jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I have the same problem with XML too. Notepad++ has a plugin that can format a 50MB XML file in a few seconds. But my current client won’t allow plugins installed. So I have to use VS Code, which chokes on anything bigger than what I could do myself manually if I was determined.

    • seaQueue@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Time to train an LLM to format XML and hope for the best

      • PsychedSy@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Do we need a “don’t parse xml with LLM” copypasta?

        • QuazarOmega@lemy.lol
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago
          L arge  
          L regex  
          M odel
          
  • lustyargonian@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    CPU vs GPU tasks I suppose.

    • Potatos_are_not_friends@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      GPU, render my 4.2 MB json file!

      • pipe01@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’m afraid I can’t do that, Dave

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 90 users / day
  • 1.03K users / week
  • 3.22K users / month
  • 9.96K users / 6 months
  • 1 local subscriber
  • 36.9K subscribers
  • 715 Posts
  • 4.27K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org