whatisgithub

What is stc?

dudykr/stc — explained in plain English

Analysis updated 2026-06-26

5,725RustAudience · developerComplexity · 4/5Setup · hard

In one sentence

A Rust-powered replacement for the TypeScript type checker, aiming to be significantly faster than the official tsc compiler by rewriting the core type-checking logic in Rust.

Mindmap

mindmap
  root((stc))
    Purpose
      Replace TypeScript checker
      Faster type checking
      Rust performance
    Technology
      Written in Rust
      TypeScript types
      JavaScript ecosystem
    Status
      Early stage
      Active development
      Community funded
    Community
      Contributing guide
      Financial sponsors
      Open source
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Speed up type checking in large TypeScript codebases where the official tsc is slow.

USE CASE 2

Contribute to or sponsor an open-source Rust project tackling a hard compilers problem.

USE CASE 3

Experiment with a next-generation TypeScript toolchain built for performance.

What is it built with?

RustTypeScriptJavaScript

How does it compare?

dudykr/stcflosse/rust-web-framework-comparisonfacebook/pyrefly
Stars5,7255,7245,730
LanguageRustRustRust
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Project is in early development with minimal setup documentation. Expect rough edges and incomplete TypeScript compatibility. Best suited for contributors and early adopters comfortable with Rust toolchains.

So what is it?

This project is a TypeScript type checker written in Rust. TypeScript is a programming language that adds type annotations to JavaScript, and it comes with its own built-in type checker. The goal of stc is to build a faster replacement for that built-in checker by rewriting the core logic in Rust, a language known for producing very fast software. At the time of the README, the project was in an early stage and under active development. The README is brief and does not describe the current state of compatibility with TypeScript, how much of the type system is supported, or how to install and use the tool. It links to a contributing guide and lists financial sponsors, suggesting the project was seeking community support to continue development. The README does not provide enough detail to assess how complete or usable stc is for real projects.

Copy-paste prompts

Prompt 1
I want to use stc as a drop-in replacement for tsc to type-check my TypeScript project. What do I need to install and how do I run it?
Prompt 2
How compatible is stc with the official TypeScript type system? What features or edge cases are not yet supported?
Prompt 3
I want to contribute to stc. Walk me through the Rust codebase structure and explain where the core type-checking logic lives.
Prompt 4
Compare stc and tsc: what makes Rust a better fit for a TypeScript type checker, and what are the trade-offs?
Prompt 5
What is the current roadmap for stc reaching feature parity with the official TypeScript compiler?

Frequently asked questions

What is stc?

A Rust-powered replacement for the TypeScript type checker, aiming to be significantly faster than the official tsc compiler by rewriting the core type-checking logic in Rust.

What language is stc written in?

Mainly Rust. The stack also includes Rust, TypeScript, JavaScript.

How hard is stc to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is stc for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.