kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbySonnenblume@discuss.tchncs.de
1 month

HTML5 accelerator card

a poster advertising some new hardware:  # Upgrade your browsing The world’s first HTML5 accelerator card is here. Our custom chips work with Chrome and with Electron apps to give you a web experience like never before.  - One PCI Express x16 card, endless power - Supports viewports up to 7680x4320 and refresh rates up to 240Hz - Parallel renderer with on-die Flexbox and CSS Grid solvers - Shielded event bubbler for smooth, noise-free mouse movements - 8 programmable Virtual DOM chips for super-fast React apps - Seguri-Dad® TPM cryptographically signs your web requests so you never have to complete a CAPTCHA again - Low-voltage SVG rasteriser  a 3D render of the card highlights features of various chips: - Predictive JSON deserialiser - 1024-bit renderer (64 div cores, 128 span cores, 8K-ready, 256MB emoji cache) - Virtual DOM+, 8-stage diff pipeline - Dual garbage collectors  benchmark charts show that it significantly outdoes Firefox and Chrome on Max Discord Scrollback (text and GIFs loaded before client drops to under 60fps) and Facebook News Feed FPS (scrolling through the NIST Standard Minion Meme Collection)

Source

47
    You must log in or register to comment.

    • UnfortunateShort@lemmy.worldEnglish
      1 month

      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)

        • MangoCats@feddit.itBanned
          21 days

          Removed by mod

            • NotEasyBeingGreen@slrpnk.net
              1 month

              The 8088 CPU (the one from the original IBM PC) had special string scanning support with both instructions and registers. The SI (source index) and DI (destination index) were such registers, and a bunch of instructions related.

              However, specialized instructions take die area on the CPU. In the 1980s a movement based on the observation that most sophisticated instructions were not used much, and it would be better to concentrate on making very common operations (like add, load, store, shift, or whatever) fast. That started reduced-instruction set computing (RISC).

              RISC was so successful that x86 chips switched to the model with a RISC-like core and implementing more sophisticated fuctions in “microcode”. Today Linux can load microcode, which is basically patching the firmware of the CPU itself.

              Anyway, of course the drive towards RISC ended as people realized that some advanced functionality is really useful. In the 1990s and 2000s this was focused around new limitations: it was impossible to get higher frequencies so running a single core couldn’t get faster. CPUs added SIMD (single instruction, multiple data) support as well as hyperthreading.

              Now… revisiting string operations and adding CPU support would be possible. Engineers at CPU design shops look at how their chip space is used and optimize the die area for instruction sets and also registers, cache, and so on. But my guess is that it doesn’t make sense or it would have happened a decade ago already.

                • MangoCats@feddit.itBanned
                  21 days
              • Kangae_Hishiryo@scribe.disroot.org
                1 month

                What’s amazing is that actually everything in there could be doable unironically.

                But more amazing (and embarrasing) is the fact that we have reached to this point where optimization is that undervalued by most programmers. Horrible timeline to live in, when AI is messing up with hardware prices.

              • rumschlumpel@feddit.org
                1 month

                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.nzEnglish
                    1 month

                    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.

                    • diaphragmwp@discuss.tchncs.deEnglish
                      1 month

                      https://stackoverflow.com/questions/50966676/why-do-arm-chips-have-an-instruction-with-javascript-in-the-name-fjcvtzs

                      • lime!@feddit.nu
                        1 month

                        js isn’t really interpreted anymore, it’s all jit-compiled. instructions that help with common compiler operations are pretty standard.

                        but there have been cpu features for interactive languages for a long time. lispmachines and forth systems are the obvious ones, but there’s been a push towards software-specific cpu dev even in the mainstream. UltraSPARC could run java natively, and itanium was designed with object-oriented systems in mind.

                        • UnfortunateShort@lemmy.worldEnglish
                          1 month

                          Tbf, it’s not really like processors have ‘DO JS STUFF’ instructions, they are not made for one language or data format specifically of course. But ultimately, instructions are shaped by things people use.

                          JSON for example requires searching strings for structural characters: ,, {, } etc. Iirc you can use VPSHUFB (‘Packed Shuffle Bytes’ or so, AVX >=2) to map 32 bytes (or 64 on AVX-512 I guess) to any structural character in one instruction. That’s quite the speedup compared to comparing all of them to all special characters one at a time, even considering SIMD kinda moves on its own pace. And it’s exactly the kind of stuff you would use in your JS engine to make parsing JSON crazy fast, even when it’s plain text, which is obviously less than ideal for a computer.

                          I remember there was some instruction that was introduced specifically because of something JS does all the time tought. I forgot what it was, maybe someone else can help out.

                          • MonkderVierte@lemmy.zip
                            1 month

                            I’ve been browsing with jit disabled for years now. No regrets.

                          • yogurtwrong@lemmy.world
                            1 month

                            HAJPAQUE: Hardware Accelerator for JSON Parsing, Querying and Schema Validation

                            Have fun

                          • mycodesucks@lemmy.world
                            1 month

                            I wish I didn’t know developers who would look at this and go “What’s the joke? Sounds like a good idea.”

                              • tempest@lemmy.ca
                                1 month

                                Guilty.

                                95 percent of the people using computers are just using them for a browser.

                                Let’s implement the DOM in hardware!

                                  • MonkderVierte@lemmy.zip
                                    1 month

                                    Let’s implement a web without DOM-abused-as-GUI.

                                      • Kangae_Hishiryo@scribe.disroot.org
                                        1 month

                                        Please yes, for god’s sake. 🙏🙏🙏🙏

                                        • Tja@programming.dev
                                          1 month

                                          Wait… what?

                                        • mycodesucks@lemmy.world
                                          1 month

                                          Nothing quite like locking yourself further into a broken, patched together frankenmess forever based only on momentum.

                                            • Quantenteilchen@discuss.tchncs.de
                                              1 month

                                              Hey!

                                              Seems to be working for the current generation of AI primitives used…

                                                • AVincentInSpace@pawb.socialEnglish
                                                  1 month

                                                  And that’s supposed to convince me it’s a good idea?

                                            • Gonzako@lemmy.world
                                              1 month

                                              It does sound like a good idea tbh

                                            • MoffKalast@lemmy.world
                                              1 month

                                              Needs 2x 10GbE ports to download bloated React apps directly into its onboard cache. Otherwise perfect.

                                              • Australis13@fedia.io
                                                1 month

                                                I love the idea that somebody at NIST is in charge of collating a Standard Minions Meme Collection.

                                                  • hperrin@lemmy.caEnglish
                                                    1 month

                                                    You know it would be some suburban moms.

                                                  • I Cast Fist@programming.dev
                                                    1 month

                                                    I want that thing to never do a captcha again, please

                                                      • OwOarchist@pawb.socialBannedEnglish
                                                        1 month

                                                        With catptchas becoming more and more common as sites try to stop AI crawlers, I suspect that’s going to become a real thing…

                                                        A real thing that irrevocably identifies you online, with absolutely no anonymity, and costs $9.95 per month, and only works on Cloudfare captchas.

                                                          • boonhet@lemmy.zip
                                                            1 month

                                                            Actually an iPhone is a bit more than $9.95 a month https://support.apple.com/en-gb/guide/iphone/iph4f43a30c9/ios

                                                            • TeaWithDani@lemmy.world
                                                              1 month

                                                              I think the only valid use of Ai should be to solve captchas for you.

                                                            • 73QjabParc34Vebq@piefed.blahaj.zoneEnglish
                                                              1 month

                                                              The day is getting close, as long as the site uses rePrompt and you sign in to Google, on a Google browser, on a Google certified Android device with proprietary Google services. Otherwise maximum intruptions for you.

                                                            • Psythik@lemmy.world
                                                              1 month

                                                              As someone who loves expansion slots and hates how GPUs and SSDs keep taking them away, I’d legit want one of these if they were real. Hell, I’m still mourning the death of the physics card.

                                                              (Edit: No I didn’t mean PhysX. They were a brand at one point, not the tech. PhysX invented the physics card, and were the only ones to produce them because nVidia bought out the tech before it could be mass produced.)

                                                                • jxk@sh.itjust.works
                                                                  1 month

                                                                  Imaging putting a “grep card” into your computer and suddenly grep is ten times faster

                                                                    • boonhet@lemmy.zip
                                                                      1 month

                                                                      cargo install ripgrep

                                                                      • WhyJiffie@sh.itjust.worksEnglish
                                                                        1 month

                                                                        regex accelerator, with direct communication to your disk drives!

                                                                          • defrostedLasagna4921@piefed.zipEnglish
                                                                            1 month

                                                                            Would be good for regex Doom.

                                                                        • joulethief@discuss.tchncs.de
                                                                          1 month

                                                                          Oh man, the only time I have ever seen a PhysX card mentioned in the wild was back then on my fathers XP machine in Crazy Machines 2. And I wanted that sucker so badly. Never laid my hands on one though. Now that I’m thinking about it, I don’t even know what they look like…

                                                                          • potustheplant@feddit.nl
                                                                            1 month

                                                                            PhysX?

                                                                              • Psythik@lemmy.world
                                                                                1 month

                                                                                Yes, PhysX was the first company to produce physics cards. (And the only one because nVidia bought the tech and integrated it into their GPUs before it even had a chance to hit the ground running.)

                                                                            • scutiger@lemmy.world
                                                                              1 month

                                                                              Ok but how bad does it get when the 256MB emoji cache is full? Cause that’s not enough space for all my emoji.

                                                                              • python@lemmy.world
                                                                                1 month

                                                                                I just learned about WebXR so yesterday I set up a new Angular project to build a VR game in (it’s Angular because I couldn’t figure out how to use the a-frame libraries custom html tags in React/JSX).

                                                                                Using Javascript for calculating how 3d objects interact doesn’t feel too bad, but there is something uniquely cursed about defining those objects in plain ol HTML.

                                                                                • skujcici7755@lemmy.zip
                                                                                  1 month

                                                                                  Damn do you need 64gb of sweet DDR5 to run this

                                                                                    • cmnybo@discuss.tchncs.deEnglish
                                                                                      1 month

                                                                                      No, it requires at least 256 GB of unified memory to run its AI.

                                                                                        • skujcici7755@lemmy.zip
                                                                                          1 month

                                                                                          Instructions clear. 8x32GB DDR5 purchased. Now what?

                                                                                            • staircase@programming.dev
                                                                                              1 month

                                                                                              deleted by creator

                                                                                                • skujcici7755@lemmy.zip
                                                                                                  1 month

                                                                                                  Want 256gb to run Chrome lol

                                                                                          • AVincentInSpace@pawb.socialEnglish
                                                                                            1 month

                                                                                            I absolutely lost it at “dual garbage collectors”

                                                                                            • solrize@lemmy.ml
                                                                                              1 month

                                                                                              This is brilliant.

                                                                                              • rumschlumpel@feddit.org
                                                                                                1 month

                                                                                                It’s gonna need lots of RAM and then cost a fortune…

                                                                                                  • Sonnenblume@discuss.tchncs.de
                                                                                                    1 month

                                                                                                    Don’t worry we offer financing options at very fair rates which also include a discount for the first year of the mandatory ad-supported subscription required to use the card.

                                                                                                  • BillionaireStew@lemmy.world
                                                                                                    1 month

                                                                                                    This quantum leap could be just the breakthrough Firefox needed to set event coordinates during HTML 5 mouse drag events.

                                                                                                    https://bugzilla.mozilla.org/show_bug.cgi?id=505521

                                                                                                    • mack@lemmy.sdf.org
                                                                                                      1 month

                                                                                                      Just install another ram bank of 64gb, that’ll do

                                                                                                      • rhinestones@europe.pubBannedBanned from community
                                                                                                        1 month

                                                                                                      Programmer Humor@programming.dev

                                                                                                      programmer_humor@programming.dev

                                                                                                      Subscribe from remote instance

                                                                                                      Create post

                                                                                                      Report community

                                                                                                      Modlog
                                                                                                      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: !programmer_humor@programming.dev

                                                                                                      Welcome to Programmer Humor!

                                                                                                      This is a place where you can post jokes, memes, humor, etc. related to programming!

                                                                                                      For sharing awful code theres also Programming Horror.

                                                                                                      Rules

                                                                                                      • Keep content in english
                                                                                                      • No advertisements
                                                                                                      • Posts must be related to programming or programmer topics
                                                                                                        • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
                                                                                                      Visibility: Public

                                                                                                      This community is visible to everyone.

                                                                                                      • 805 users / Day
                                                                                                      • 4K users / Week
                                                                                                      • 7.9K users / Month
                                                                                                      • 12K users / 6 months
                                                                                                      • 2.63K posts
                                                                                                      • 98.1K comments
                                                                                                      • 2 local subscribers
                                                                                                      • 34.3K subscribers
                                                                                                      • UI: 1.0.0-beta.0
                                                                                                      • BE: 1.0.0-alpha.20
                                                                                                      • Modlog
                                                                                                      • Instances
                                                                                                      • Docs
                                                                                                      • Code
                                                                                                      • join-lemmy.org