[HN Gopher] Static Hermes: Compile JavaScript to speed it up 300...
___________________________________________________________________
Static Hermes: Compile JavaScript to speed it up 300x (in
microbenchmarks)
Author : unchar1
Score : 4 points
Date : 2023-09-10 20:38 UTC (2 hours ago)
(HTM) web link (tmikov.blogspot.com)
(TXT) w3m dump (tmikov.blogspot.com)
| jitl wrote:
| I wonder how this compares to v8 over the same code. Will v8 get
| this smart after running the benchmark? I'd test it myself but
| I'm on an iPhone right now. I wonder if static Hermes will ever
| end up at break-even or ahead of v8 - especially if doing a lot
| of FFI in WASM, Hermes might have a better shot at bypassing the
| memcopy/TextDecoder needed to interop between browser JS strings
| and WASM utf8 strings in other languages.
___________________________________________________________________
(page generated 2023-09-10 23:01 UTC)