🌐
GitHub
github.com › swc-project › swc
GitHub - swc-project/swc: Rust-based platform for the Web
6 days ago - SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. It's a library for Rust and JavaScript at the same time.
Starred by 33K users
Forked by 1.4K users
Languages   Rust 97.2% | JavaScript 2.0% | TypeScript 0.7% | Shell 0.1% | Python 0.0% | RenderScript 0.0%
🌐
GitHub
github.com › denoland › deno › issues › 5432
TypeScript compiler in Rust · Issue #5432 · denoland/deno
May 15, 2020 - There is logic in Rust to deal with identification of "type substitutions" for TypeScript files. For example if you are loading a JavaScript file, but you want to use type definitions for the compiler to type check against instead of the JavaScript file, Deno supports using things like X-TypeScript-Types header to identify those files.
Published   May 15, 2020
Discussions

Moving from TypeScript to Rust / WebAssembly
The analogy that comes to mind is that Rust is a really nice sports car with a great engine. It handles like a dream and you can feel the powerful engine humming while driving it. With the right open road, it's a great time. You can really optimize code, make great abstractions and work with ... More on news.ycombinator.com
🌐 news.ycombinator.com
405
500
April 26, 2020
Building JS/TS compiler using SWC
SWC author here. You can refer to example directory of each crates if you are using SWC from Rust. More on reddit.com
🌐 r/rust
7
0
May 1, 2024
Rewriting TypeScript in Rust?
But then I find some third party code which seems to use the kitchen sink approach to typing, AKA the "look at how smart we are" approach, and it's a nightmare to understand. A type system is supposed to make code easier to work with, by the time you're spending more time understanding the ... More on news.ycombinator.com
🌐 news.ycombinator.com
170
237
December 17, 2022
Compile rust to wasm, and import as typescript dependency

self source: https://twitter.com/chaignc/status/1484658073188847620

More on reddit.com
🌐 r/rust
1
19
December 27, 2020
🌐
SWC
swc.rs
Rust-based platform for the Web
SWC is an extensible Rust-based platform for the next generation of fast developer tools. It’s used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, Trip.com, and more. SWC can be used for both compilation and bundling. For compilation, it takes JavaScript / TypeScript files using modern JavaScript features and outputs valid code that is supported by all major browsers.
🌐
DEV Community
dev.to › buttercubz › let-s-rewrite-typescript-in-rust-560c
Let's rewrite Typescript in Rust! - DEV Community
June 24, 2020 - SWC is a compiler for typescript and javascript written in rust and is being developed by a 22 year old South Korean student.
🌐
LogRocket
blog.logrocket.com › home › switching from rust to typescript (and vice versa)
Switching from Rust to TypeScript (and vice versa) - LogRocket Blog
June 4, 2024 - Rust and TypeScript are both statically typed languages. This means the compiler tries to infer the data type during compilation.
🌐
This Dot Labs
thisdot.co › blog › how-to-get-into-rust-as-a-typescript-developer
How to get into Rust as a TypeScript Developer - This Dot Labs
February 14, 2023 - Rust has so many similiarities to JavaScript/TypeScript that it's quick and easy to get the core concepts down. Start learning Rust today, and develop a foundation for creating web services and more.
🌐
InfoQ
infoq.com › news › 2020 › 11 › deno-15-released
Deno 1.5 Sees 3x Bundling Performance Improvement ...
November 24, 2020 - The latter is a JavaScript/TypeScript compiler and bundler written in Rust. Swc claims to be 20 times faster than the Babel compiler on a single thread — and 70 times faster on one four-core benchmark.
🌐
Reddit
reddit.com › r/webassembly › a typescript compiler written in rust, to compile ts to js or wasm
r/WebAssembly on Reddit: A TypeScript compiler written in Rust, to compile TS to JS or Wasm
May 13, 2018 - TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ... Chat about javascript and javascript related projects. Yes, typescript counts. Please keep self promotion to a minimum/reasonable level.
Find elsewhere
🌐
Hacker News
news.ycombinator.com › item
Moving from TypeScript to Rust / WebAssembly | Hacker News
April 26, 2020 - The analogy that comes to mind is that Rust is a really nice sports car with a great engine. It handles like a dream and you can feel the powerful engine humming while driving it. With the right open road, it's a great time. You can really optimize code, make great abstractions and work with ...
🌐
Medium
medium.com › nerd-for-tech › curious-why-microsoft-did-not-use-rust-to-rewrite-the-typescript-compiler-16f1611bfd1d
Curious why Microsoft did not use Rust to rewrite the TypeScript Compiler? | by Olenin Slava | Nerd For Tech | Medium
March 26, 2025 - After the TypeScript team announced their transition to Go, all my social channels were filled with either complaints about “Why not Rust” or the victorious “Go is beating Rust.”
🌐
Total TypeScript
totaltypescript.com › rewriting-typescript-in-rust
Rewriting TypeScript in Rust? You'd have to be... | Total TypeScript
May 29, 2023 - Donny (kdy1 on GitHub) is rewriting TypeScript in Rust hoping to speed up tsc which is slow due to its TypeScript base.
🌐
Reddit
reddit.com › r/rust › building js/ts compiler using swc
r/rust on Reddit: Building JS/TS compiler using SWC
May 1, 2024 -

I need to build a ts/js compiler to use it in a specific project. after some searhcing, I found swc that I can use as crate but it looks not fully documented and I didn't found a lot resources about it. anyone can guide me to any examples or articles could help me?
thanks all!

🌐
Contentful
contentful.com › blog › rust-typescript-guide
Rust and TypeScript: A comprehensive guide to their differences and integration | Contentful
December 4, 2024 - Rust allows you to be more expressive in the syntax, and depending on the background, this may be more than the developer is used to thinking about, so in comparison, Typescript will be a “lighter” syntactic load. As mentioned above, Rust's compiler is strict; it uses the borrow checker to enforce memory allocation rules, which prevents data races, use-after-free errors and memory corruption errors, all common causes of security vulnerabilities.
🌐
crates.io
crates.io › crates › TypeScript-Rust-Compiler › 0.1.6
TypeScript-Rust-Compiler - crates.io: Rust Package Registry
September 28, 2025 - A high-performance compiler that transforms TypeScript code into idiomatic Rust, supporting all TypeScript features including advanced types, generics, decorators, and async/await patterns.
🌐
Microsoft Developer Blogs
devblogs.microsoft.com › dev blogs › typescript › a 10x faster typescript
A 10x Faster TypeScript - TypeScript
March 11, 2025 - The guy who wrote SWC did try to write a TSC in Rust, and then abandoned it. TypeScript is an engineering monster if you know TypeScript good enough, as is any complex-typed (to some extent) compiler, and rewriting such a compiler in Rust is a whole lot of effort.
🌐
GitHub
github.com › oxc-project › oxc
oxc-project/oxc: ⚓ A collection of high-performance ...
1 week ago - The Oxidation Compiler is a collection of high-performance tools for JavaScript and TypeScript written in Rust.
Starred by 17.7K users
Forked by 737 users
Languages   Rust 84.2% | JavaScript 12.1% | TypeScript 3.7% | Just 0.0% | Vue 0.0% | Svelte 0.0%
🌐
Hacker News
news.ycombinator.com › item
Rewriting TypeScript in Rust? | Hacker News
December 17, 2022 - But then I find some third party code which seems to use the kitchen sink approach to typing, AKA the "look at how smart we are" approach, and it's a nightmare to understand. A type system is supposed to make code easier to work with, by the time you're spending more time understanding the ...
🌐
The New Stack
thenewstack.io › home › microsoft typescript devs explain why they chose go over rust, c#
Microsoft TypeScript Devs Explain Why They Chose Go Over Rust, C# - The New Stack
March 20, 2025 - “Do a complete from-scratch rewrite in Rust, which could take years and yield an incompatible version of TypeScript that no one could actually use…” · “Just do a port in Go and get something usable in a year or so and have something that’s extremely compatible in terms of semantics and extremely competitive in terms of performance.” · In a comment on Hacker News, Cavanaugh reminded readers that in 2022 the SWC (Speedy Web Compiler) project also chose Go for a port of the TypeScript type checker tsc.
🌐
Hacker News
news.ycombinator.com › item
> TSC must be ported to Rust. If you're interested in collaborating on this prob... | Hacker News
May 15, 2020 - This is a massive undertaking. TSC is a moving target. I occasionally contribute to it. It’s a fairly complex project. Even the checker + binder (which is the core of TS) is pretty complex · One idea that comes to mind is to work with Typescript team that they are only using a subset of ...
🌐
Opensourcelibs
opensourcelibs.com › lib › rusty-typescript
Redirecting...
We cannot provide a description for this page right now