[HN Gopher] Emulator Performance: WebAssembly vs. JavaScript (2021)
       ___________________________________________________________________
        
       Emulator Performance: WebAssembly vs. JavaScript (2021)
        
       Author : jen_h
       Score  : 13 points
       Date   : 2022-10-26 21:56 UTC (1 hours ago)
        
 (HTM) web link (8bitworkshop.com)
 (TXT) w3m dump (8bitworkshop.com)
        
       | SevenNation wrote:
       | > I've been working on an experimental Verilog runtime that emits
       | WebAssembly, generated from the AST nodes of the Verilog
       | compiler.
       | 
       | No link in the article, and I wasn't able to find a public
       | project that tries to do this. Is there?
        
       | RandomWorker wrote:
       | >UPDATE > An earlier post described performance problems on
       | Firefox and Safari, which were related to the Proxy object. This
       | feature is used to read values from WebAssembly into JavaScript.
       | > After changing to Object.defineProperty() all browsers are
       | equally fast on WebAssembly, beating JavaScript in all cases.
       | 
       | The update at the bottom is kind of interesting. All browsers are
       | equally fast, which makes sense because wasm should speak
       | directly to the hardware more easily than javascript.
        
       | metadat wrote:
       | Was the header image for this article generated via Stable
       | Diffusion (or similar)?
       | 
       | http://8bitworkshop.com/docs/_images/js-vs-wasm-1.jpg
       | 
       | Inhumanly abstract, yet intriguing.
        
         | aatd86 wrote:
         | It looks like dalle-mini.
        
       ___________________________________________________________________
       (page generated 2022-10-26 23:00 UTC)