Jaws

Languages and libraries

javascript compiler

SHOW HN2024

290points
107comments
#221of 3,515 in 2024
Top 7%of 2024 by points

How HN took it

CuriousMostly questions and neutral comments

10 positive, 18 neutral or asking, 1 mixed, 4 critical, out of 33 comments about the project. Thread score +0.16.

Design: 2 for, 0 againstIdea: 2 for, 0 againstExecution: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clever use of WASM GC to map JS constructs directly to WASM primitives

    From 1 comment
    • Really clever use of the new WASM GC proposal. All the JS -> WASM compilers so far have basically just been shipping a whole JS engine - this is the first one I've seen that…
      andout_ on HN
  • Interesting approach of building for WASM rather than generating binaries

    From 1 comment
    • I really like this approach. Building for WASM directly, rather than trying to also directly generate binaries, means you can rely on WASM GC and the async support that (I…
      spankalee on HN

Objections

  • Runtime support for WASM GC and exception handling is limited

    From 1 comment
    • I haven't seen Static Hermes before, I'll take a look, thanks for the link! With regards to porffor. It's a very good project and people behind it are probably much better at…
      drogus on HN
  • Build failed because prepend.js was missing from the repo

    From 1 comment
    • I get a build error where it can not find "prepend.js". Indeed it appears to not be in the repo.
      teaearlgraycold on HN

Requests

  • Share test262 conformance results

    From 1 comment
    • > I'm fairly certain I am able to eventually cover 100% of JavaScript spec. Any ideas, questions or critique welcomed! Do you have the results of test262_runner.rb? I came to…
      kengoa on HN
  • Support ArrayBuffers and standard library types like Map and Set

    From 2 comments
  • Explain how I/O and web APIs would work

    From 1 comment
    • I read the README.md of the project but I'm still not sure: What's the expected usage of this? How does the outputed WASM code then interacts with a runtime (and with which, is…
      OscarDC on HN

Questions

  • Is the build deterministic?

    From 1 comment
  • How are UTF-8 and UTF-16 string differences handled?

    From 1 comment
    • How are string encoding discrepancies and related utilities dealt with? My vague understanding is that WASM supports UTF-8 while JS supports (potentially malformed) UTF-16
      0xfffafaCrash on HN
  • Is it faster than running JS directly?

    From 1 comment
    • So does this execute faster than just running the same code in js or is this for interop for other languages?
      pier25 on HN

Alternatives named

  • Porffor

    From 2 comments
    • I haven't seen Static Hermes before, I'll take a look, thanks for the link! With regards to porffor. It's a very good project and people behind it are probably much better at…
      drogus on HN
    • > I'm fairly certain I am able to eventually cover 100% of JavaScript spec. Any ideas, questions or critique welcomed! Do you have the results of test262_runner.rb? I came to…
      kengoa on HN
  • AssemblyScript

    From 1 comment
    • These are very good questions, I'll respond here, but I'll also add more info to the README. This project is mainly targeting WebAssembly usage on the server, cause I think it…
      drogus on HN
  • Wasmnizer-ts

    From 1 comment
    • I haven't seen Wasmnizer before. This looks like a cool project and I'll be definitely taking a closer look when I have some time, but for now I just took a quick peek. The main…
      drogus on HN
  • SpiderMonkey and V8 compiled to WASM

    From 1 comment
    • These are very good questions, I'll respond here, but I'll also add more info to the README. This project is mainly targeting WebAssembly usage on the server, cause I think it…
      drogus on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/42095879)