• UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I know this is a joke - but there totally is hardware acceleration for some of this stuff in modern processors. There definitely is for JS, JSON and generally string stuff. It’s not even x86 only, ARM got these kinds of things as well (although likely less of it)

    • rumschlumpel@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Hardware acceleration for an interpreted programming language? Can you point me to a specific example or clarify what you mean, because I find that hard to believe.

      • Hal@piefed.nz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        I’m not sure what they were going for, but I know that modern browsers do just in time compilation for regularly repeated code parts to allow much faster execution, so “interpreted programming language” may be a little of a blurry definition. See https://developer.mozilla.org/en-US/docs/Glossary/Just_In_Time_Compilation

        I couldn’t find any info on any hardware specific to JS/JSON for clients but I’m no expert, maybe they will provide more info.