Hacker GitHub

← All repos

swc-project/swc

View on GitHub ↗ ★ 34,208 Rust

Rust-based platform for the Web

50 mentions on Hacker News by 49 people: 6 stories, 44 comments · first 2018-11-10 · latest 2025-09-16

Mentions per year 50 mentions · busiest year 2021 (18)
20082026
  1. …until you find the Rust source: https://github.com/biomejs/biome/blob/a0039fd5457d0df18242fe... https://github.com/swc-project/swc/blob/6c54969d69551f516032... I think as these projects gain more momentum, we will see similar things…
  2. I once wanted to contribute to the popular swc project ( https://github.com/swc-project/swc ). I cloned the repo, ran build, and a whooping 20GB was gone from my disk. The parser itself ( https://github.com/swc-project/swc/blob/main/crates/…
  3. …previous attempts at a faster tsc, but in rust, see: 1. https://github.com/dudykr/stc - Abandoned ( https://github.com/swc-project/swc/issues/571#issuecomment-1... ) 2. https://github.com/kaleidawave/ezno - In active development. Does not…
    comment by kevlened · 2025-03-11 · in A 10x Faster TypeScript
  4. It does! Node uses swc to do this. The swc implementation of blank-spacing (implemented here https://github.com/swc-project/swc/pull/9144 ) was inspired by the author of ts-blank-space here: https://gist.github.com/acutmore/27444a9dbfa515a1…
  5. …a single dependency [3]. [1] https://github.com/vercel/next.js/blob/07a55e03a31b16da1d085... [2] https://github.com/swc-project/swc/blob/b94a0e1fd2b900b05c5f... [3] https://npmgraph.js.org/?q=chokidar
    comment by throwitaway1123 · 2024-09-26 · in Rewriting Rust
  6. > There are bugs like https://github.com/swc-project/swc/issues/2038 that haven't been fixed after a few years. I tried all those examples on the swc playground[0] and all of them pass, so the issue seems to be fixed, but maybe they forgot…
  7. …features, documentation, and simply the amount of example code out there. There are bugs like https://github.com/swc-project/swc/issues/2038 that haven't been fixed after a few years. (I am aware that swc is "production-ready" in the sense…
  8. …- constantly bouncing back and forth while traversing AST nodes was even slower than Babel (e.g https://github.com/swc-project/swc/issues/1392#issuecomment-... )
  9. …what would you expect people to use this for, besides just being a cool project to learn from? [1] https://github.com/swc-project/swc
  10. …and slim down transpilation + minification + bundling to only a few seconds. https://vitejs.dev https://github.com/swc-project/swc https://github.com/evanw/esbuild
    comment by 5e92cb50239222b · 2022-10-18 · in Why Rust?
  11. (Not OP) That repo looks like a proof-of-concept which is linked to from an open issue in https://github.com/swc-project/swc which is apparently a "super-fast TypeScript / JavaScript compiler".
    comment by austinjp · 2022-08-24 · in Rustle: Svelte compiler rewritten in Rust
  12. Nope: https://github.com/swc-project/swc
  13. …whether the work will be open-sourced. > It will be developed as a propriety software. Mar 2021 - https://github.com/swc-project/swc/issues/571#issuecomment-8... > I'm considering withdrawing the plan for open-sourcing it. Apr 2022 -…
  14. Yeah I meant speed of execution. Sorry for the letdown! But https://github.com/swc-project/swc is a very fast Typescript compiler written in Rust :)
    comment by janpaul123 · 2022-04-07 · in TypeScript as fast as Rust: TypeScript++
  15. Here's a relevant GitHub thread where some conversation that has been happening: https://github.com/swc-project/swc/issues/571
  16. Unfortunately, this will not be open source: https://github.com/swc-project/swc/issues/571#issuecomment-7...
  17. Similar work is also taking place in swc: https://github.com/swc-project/swc/issues/571
    comment by johnny_reilly · 2022-01-22 · in I'm making a Typescript type-checker in Rust
  18. TS type checking is on the roadmap https://github.com/swc-project/swc/issues/571
  19. It will, which is what the grandparent is talking about. https://github.com/swc-project/swc/issues/571
    comment by moogly · 2021-11-17 · in Etsy’s Journey to TypeScript
  20. …alternative in Rust, so there is still hope for a faster compilation speed in the future [0] https://github.com/swc-project/swc
    comment by remorses · 2021-11-17 · in Etsy’s Journey to TypeScript
  21. …om/evanw/esbuild/commit/23c40b1b6a76a8626f1d... - "initial commit" - kdy1 committed on Dec 22, 2017 - https://github.com/swc-project/swc/commit/0f9532dd5d379292cc...
    comment by capableweb · 2021-10-26 · in Next.js 12
  22. https://github.com/swc-project/swc/discussions/2097#discussi... - Run yarn add next@canary - Add to your next.config.js: experimental: { swcMinify: true, swcLoader: true }
    comment by presentation · 2021-10-15 · in Esbuild – An extremely fast JavaScript bundler
  23. Deno is using this: https://github.com/swc-project/swc
  24. …like Rust with a big focus on performance. [0] https://github.com/denoland/deno/issues/5432 [1] https://github.com/swc-project/swc/issues/571
    comment by fabiospampinato · 2021-09-21 · in Rome will be written in Rust
  25. That doesn't support type checking, see https://github.com/swc-project/swc/issues/571 You'd still need to run `tsc` to check types even if you used swc
    comment by jamescostian · 2021-09-21 · in Rome will be written in Rust
  26. …someone will be able to compete in performance using a JS implementation in today's landscape. [0] https://github.com/swc-project/swc [1] https://github.com/sebbekarlsson/fjb [2] https://bun.sh/ [3] https://github.com/kataw/kataw
    comment by lhorie · 2021-09-21 · in Rome will be written in Rust
  27. Great news, but that PR just got merged a few hours ago! https://github.com/swc-project/swc/pull/1302
  28. Slightly tangential, but I can't tell if I love or hate the logo for swc https://github.com/swc-project/swc Either way, I want to try this next time I'm using TypeScript.
  29. swc is more ambitious, it wants to re-implement all of tsc type checking, not only transpiling: https://github.com/swc-project/swc/issues/571
    comment by nahuel0x · 2021-02-16 · in Why Is Esbuild Fast?
  30. …million lines of code and they have even built a type checker for typescript which is not included. https://github.com/swc-project/swc/graphs/contributors
    comment by searchableguy · 2021-02-16 · in Why Is Esbuild Fast?
  31. swc ( https://github.com/swc-project/swc ) is a rust equivalent to babel and has a bundler under development. Not sure how far along it is. That would be an interesting comparison of performance and features.
    comment by mpolun · 2021-02-16 · in Why Is Esbuild Fast?
  32. It looks like SWC will add a port of terser soonish: https://github.com/swc-project/swc/pull/1302
    comment by CodesInChaos · 2021-02-06 · in JavaScript Minification Benchmarks
  33. …to be a much faster js/typescript compiler than some of its competitors and written in Rust. 1. https://github.com/swc-project/swc
    comment by onei · 2021-01-21 · in Compilers are hard
  34. …that TypeScript should be rewritten in Rust for better performance. swc is trying to do that - https://github.com/swc-project/swc/issues/571
    comment by atom_arranger · 2020-08-09 · in Rome: A Linter for JavaScript and TypeScript
  35. Don't forget https://github.com/swc-project/swc
    comment by narrationbox · 2020-08-08 · in Rome: A Linter for JavaScript and TypeScript
  36. …be no compilation if they did that. ;) Someone is trying to rewrite tsc in rust for speed up here - https://github.com/swc-project/swc Cool project for runtime checking with ts - https://github.com/gcanti/io-ts Edit: Remove unmaintained…
    comment by searchableguy · 2020-06-21 · in Deno will stop using TypeScript
  37. …fmt` subcommand already uses it internally. [0] https://github.com/denoland/deno/issues/5432 [1] https://github.com/swc-project/swc
  38. Someone is working on it: https://github.com/swc-project/swc/issues/571
    comment by Aeolun · 2020-05-14 · in Deno 1.0
  39. I wonder how possible it would be to just use this: https://github.com/swc-project/swc It's still not feature-complete, but there aren't any alternatives written in Rust that I know of.
    comment by Tade0 · 2020-05-14 · in Deno 1.0
  40. Rome seems fine but I find this approach to be a bit more interesting https://github.com/swc-project/swc — though Rome seems potentially broader in scope.
    comment by aarpmcgee · 2020-04-13 · in Rome: An experimental JavaScript toolchain
  41. …Not going to work for existing project - probably way too high of a risk for new ones, sadly. [1] https://github.com/swc-project/swc
  42. …to rewrite Babel in Rust. It includes a Webpack plugin and their benchmarks show a major speedup. https://github.com/swc-project/swc
  43. also https://packem.github.io/ and another build tool that's perf optimized: https://github.com/swc-project/swc
  44. …should be good, it looks like they are referring to Babel's tests for some of the features? example https://github.com/swc-project/swc/pull/86 , I just checked really quick though. In terms of perf, I'm sure rust will be much faster than…