4 ms·
Tell me experts, why is this not practical. Can you put a HTML renderer on an FPGA?
by person_of_color 6y ago
Tell me experts, why is this not practical. Can you put a HTML renderer on an FPGA?
- deleted 6y ago[deleted]
- ehsankia 6y agoDon't modern browsers already use GPU acceleration?
- person_of_color 6y agoDo they acceleration DOM parsing, or just media that already has acceleration hooks provided by the OS?
- detaro 6y agoDOM parsing is an almost perfect job for a CPU to do and not really something for dedicated hardware.
- lkbm 6y agoFirefox uses the GPU via WebRender[0]. I don't know what specific things it's used for, but I'm pretty sure it's not any of the DOM parsing. The GPU is used for the actual graphical rendering down the line -- compositing and such[1]. [0] https://github.com/servo/webrender https://github.com/servo/webrender [1] https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/ https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f...
- austincheney 6y agoBecause web rendering is already fast and hardware driven. The slowness comes from unnecessary frameworks and bad developers. For example that card graphic mentions Virtual DOM, which isn’t a technology. It’s bullshit that comes with the React framework.
- mhh__ 6y agoGetting data to and from the FPGA, and the workload being significantly pointer-chasing based, would probably nullify any advantage an FPGA could have.
- jsolson 6y agoRealistically, you'd use the FPGA as your NIC.
- saagarjha 6y agoHTML renderer? Maybe not. But perhaps you could make a FPGA that's good at running whatever bytecode your JavaScript engine lowers scripts to.