Joy

Languages and libraries

go to javascript compiler

SHOW HN2017

201points
98comments
#160of 2,242 in 2017
Top 8%of 2017 by points

How HN took it

MixedNo clear lean

9 positive, 16 neutral or asking, 2 mixed, 15 critical, out of 42 comments about the project. Thread score -0.10.

Idea: 7 for, 7 againstExecution: 0 for, 5 againstPrivacy: 0 for, 1 againstDesign: 0 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

  • Readable JavaScript output is appealing for debugging.

    From 1 comment
    • This is AWESOME. I absolutely love the idea of transpiling other languages to readable (and therefore, debuggable and maintainable) Javascript. Kudos and I'll be watching this…
      tboyd47 on HN
  • Interest in using it with React.

    From 1 comment
    • Hey, I just saw this on the Github WASM thread, looks cool! I'm interested, but if I may request, you should highlight the missing/non-fully-functional keywords. That's my main…
      notheguyouthink on HN

Objections

  • Unclear which Go features are missing or incomplete.

    From 1 comment
    • Hey, I just saw this on the Github WASM thread, looks cool! I'm interested, but if I may request, you should highlight the missing/non-fully-functional keywords. That's my main…
      notheguyouthink on HN
  • Goroutines run on a single thread, so no true parallelism.

    From 2 comments
    • Wait, async/await and co-rotines are completely different concepts, aren't they? the former just separate the moment of execution from the moment of receiving the result, the…
      sAbakumoff on HN
    • That's right, concurrency model does not break anything but still there are multiple concerns : 1) async/await are not supported in ES5, so after translating code from Go to JS I…
      sAbakumoff on HN
  • Name conflicts with the Joy programming language.

    From 1 comment
    • Possible conflict with the name: https://en.wikipedia.org/wiki/Joy_(programming_language)
      m00s3 on HN
  • WebAssembly is seen as the better path than transpilers.

    From 1 comment
    • Looks interesting but I think WebAssembly remains the more promising path for compiling to web browsers at this point. x to JS transpilers are likely on the way out.
      readams on HN

Requests

  • Highlight which keywords and features are unsupported.

    From 1 comment
    • Hey, I just saw this on the Github WASM thread, looks cool! I'm interested, but if I may request, you should highlight the missing/non-fully-functional keywords. That's my main…
      notheguyouthink on HN
  • Clarify differences from GopherJS.

    From 2 comments
    • How is this different from the more established GopherJS?
      dinedal on HN
    • I command-F searched for GopherJS, looking for the obvious question -- how is this different? -- but found nothing besides crediting it as “inspiration”. So, how is this…
      zellyn on HN
  • Fix licensing notice and add LICENSE file.

    From 1 comment
    • Hey, great work! Just a heads up about licensing. JavaScript code fragments that you use inside the compiler to produce the final output are technically part of the source code,…
      andrewl-hn on HN
  • Demo video.

    From 1 comment

Questions

  • How does it differ from GopherJS?

    From 1 comment
    • How is this different from the more established GopherJS?
      dinedal on HN
  • How are Go pointers implemented in JS?

    From 1 comment
  • Why is the standard library not translated?

    From 1 comment
    • There is a statement in that document that says that much of the standard library hasn’t been translated but isn’t most of the Go standard library written in Go? Why can’t Joy…
      kindfellow92 on HN

Alternatives named

  • GopherJS

    From 2 comments
    • I command-F searched for GopherJS, looking for the obvious question -- how is this different? -- but found nothing besides crediting it as “inspiration”. So, how is this…
      zellyn on HN
    • How is this different from the more established GopherJS?
      dinedal on HN
  • TypeScript

    From 1 comment
    • > Translate idiomatic Go into concise Javascript that works in every browser. Use Go's type system and world-class tooling to build large web applications with confidence.…
      sAbakumoff 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/15906671)