Sucrase

Dev tools

javascript transpiler

SHOW HN2018

88points
32comments
#497of 2,155 in 2018
Top 24%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

3 positive, 4 neutral or asking, 0 mixed, 0 critical, out of 7 comments about the project. Thread score +0.28.

Execution: 2 for, 0 againstIdea: 1 for, 0 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

  • Welcome alternative to Babel with a performance focus

    From 1 comment
    • Thank you for making this. Babel really needs some alternatives. It would be great to have a Browserify plugin (I'm not asking for anything, just speaking my thoughts).
      fiatjaf on HN
  • Excited about the project, planning to use it with TypeScript

    From 1 comment
    • Bublé creator here. The obvious big difference is that this supports TypeScript and Flow, which Bublé doesn't. Bublé is designed to compile a subset of ES6+ into ES5 (the subset…
      rich_harris on HN

Objections

  • Webpack build times gain is modest because Webpack's own parsing stays slow

    From 2 comments
    • Yep, looks like you found the plugin! Note that if you're using Webpack 4, you won't need webpack-object-rest-spread-plugin anymore, since it uses the newest Acorn, which should…
      alangpierce on HN
    • I'm not very optimistic about webpack build times getting dramatically better with Sucrase in its current state. I've seen more clear benefits when running tests using…
      alangpierce on HN

Requests

  • Browserify plugin

    From 1 comment
    • Thank you for making this. Babel really needs some alternatives. It would be great to have a Browserify plugin (I'm not asking for anything, just speaking my thoughts).
      fiatjaf on HN

Questions

  • How does it compare to Bublé?

    From 1 comment
    • How does it compare to Bublé? https://buble.surge.sh/guide/
      bpierre on HN
  • Is there a good way to use it from Webpack?

    From 1 comment
    • Is there a good way to use this from Webpack? Edit: https://github.com/alangpierce/sucrase/blob/master/integrations/webpack-loader/
      btown on HN

Alternatives named

  • Babel

    From 1 comment
    • Thank you for making this. Babel really needs some alternatives. It would be great to have a Browserify plugin (I'm not asking for anything, just speaking my thoughts).
      fiatjaf on HN
  • Bublé

    From 1 comment
    • How does it compare to Bublé? https://buble.surge.sh/guide/
      bpierre on HN
  • Closure Compiler

    From 1 comment
    • Some examples of "transpilers" targeting Javascript but writen in other languages: https://github.com/google/closure-compiler https://github.com/BuckleScript/bucklescript…
      tjallingt on HN
  • BuckleScript

    From 1 comment
    • Some examples of "transpilers" targeting Javascript but writen in other languages: https://github.com/google/closure-compiler https://github.com/BuckleScript/bucklescript…
      tjallingt 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/17175186)