HeadlinesBriefing HeadlinesBriefing 12 languages

Rust Port of TypeScript (Tsc)

Hacker News ·

🇬🇧 English

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

View original article →


🇸🇦 العربية

ts-rust: przenoszenie kompilatora TypeScript 7 na Rust

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

ما هو ts-rust وكيف يرتبط بـ TypeScript؟

ts-rust هو przenoszenie kompilatora TypeScript 7 na Rust، مصمم ليكون بديلًا عالي الأداء ومتوافقًا مع WASM. يعكس السلوك وواجهة سطر الأوامر وAPI للتنفيذ الأصلي المستند إلى Go.

العربية version →


🇧🇩 বাংলা

ts-rust: TypeScript 7 কম্পাইলারের Rust পোর্ট

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

ts-rust কি এবং এটি TypeScript থেকে কীভাবে সম্পর্কিত?

ts-rust Microsoft-এর TypeScript 7 কম্পাইলার (tsc) এর Rust পোর্ট, উচ্চ-প্রদर्शन, WASM-संगত বিকল্প হিসেবে ডিজাইন করা হয়েছে। এটি মূল Go-ভিত্তিক প্রয়োগের আচরণ, CLI এবং APIকে প্রতিফলিত করে।

বাংলা version →


🇩🇪 Deutsch

ts-rust: Rust-Port des TypeScript 7 Compilers

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

Was ist ts-rust und wie steht es im Zusammenhang mit TypeScript?

ts-rust ist ein Rust-Port des Microsoft TypeScript 7 Compilers (tsc), der als hochleistungsfähige, WASM-kompatible Alternative entwickelt wurde. Er spiegelt das Verhalten, die Kommandozeilenschnittstelle und die API der ursprünglichen Go-basierten Implementierung wider.

Deutsch version →


🇪🇸 Español

ts-rust: Puerto de Rust del Compilador de TypeScript 7

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

¿Qué es ts-rust y cómo se relaciona con TypeScript?

ts-rust es un puerto de Rust del compilador de TypeScript 7 de Microsoft (tsc), diseñado para ser una alternativa de alto rendimiento y compatible con WASM. Refleja la implementación basada en Go original en comportamiento, CLI y API.

Español version →


🇫🇷 Français

ts-rust : Port Rust du compilateur TypeScript 7

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

Qu'est-ce que ts-rust et comment se rapporte-t-il à TypeScript ?

ts-rust est un port en Rust du compilateur TypeScript 7 de Microsoft (tsc), conçu pour être une alternative haute performance et compatible avec WASM. Il reflète le comportement, l'interface en ligne de commande et l'API de l'implémentation originale basée sur Go.

Français version →


🇮🇳 हिन्दी

ts-rust: TypeScript 7 कंपाइलर का Rust पोर्ट

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

ts-rust क्या है और यह TypeScript से कैसे संबंधित है?

ts-rust Microsoft के TypeScript 7 कंपाइलर (tsc) का Rust पोर्ट है, जिसे उच्च-प्रदर्शन, WASM-संगत विकल्प के रूप में डिज़ाइन किया गया है। यह मूल Go-आधारित कार्यान्वयन के व्यवहार, CLI और API को दर्शाता है।

हिन्दी version →


🇮🇩 Bahasa Indonesia

ts-rust: Port Rust dari Compiler TypeScript 7

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

Apa itu ts-rust dan bagaimana hubungannya dengan TypeScript?

ts-rust adalah port Rust dari compiler TypeScript 7 Microsoft (tsc), yang dirancang sebagai alternatif berkinerja tinggi dan kompatibel dengan WASM. Ia mencerminkan perilaku, antarmuka baris perintah, dan API dari implementasi asli yang berbasis Go.

Bahasa Indonesia version →


🇯🇵 日本語

ts-rust: TypeScript 7 コンパイラの Rust 移植版

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

ts-rustとは何で、TypeScriptとどのように関係していますか?

ts-rustはMicrosoftのTypeScript 7コンパイラ(tsc)のRust移植版で、高性能かつWASM互換性のある代替品として設計されています。動作、CLI、APIにおいて、元のGoベースの実装をミラーリングします。

日本語 version →


🇧🇷 Português

ts-rust: Porta Rust do Compilador TypeScript 7

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

O que é ts-rust e como ele se relaciona com o TypeScript?

ts-rust é uma porta em Rust do compilador TypeScript 7 da Microsoft (tsc), projetada para ser uma alternativa de alto desempenho e compatível com WASM. Ela espelha o comportamento, a interface de linha de comando e a API da implementação original baseada em Go.

Português version →


🇷🇺 Русский

ts-rust: Порт компилятора TypeScript 7 на Rust

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

Что такое ts-rust и как он связан с TypeScript?

ts-rust — это порт на Rust компилятора TypeScript 7 от Microsoft (tsc), разработанный как высокопроизводительная и совместимая с WASM альтернатива. Он воспроизводит поведение, интерфейс командной строки и API оригинальной реализации на Go.

Русский version →


🇨🇳 简体中文

ts-rust:TypeScript 7 编译器的 Rust 移植版

ts-rust (aka tsc-rs) is an experimental Rust port of the TypeScript 7 compiler (tsc), created to test LLM capabilities and build a fast, WASM-compatible type checker. The project achieved 100% compatibility in tested real-world apps and serves as a drop-in replacement for most projects. Developed using OpenAI's GPT-5.6 Sol and GPT-6 Astra models, along with Claude's Opus 5.5, the port cost approximately $24,047 in API tokens over two weeks—significantly less than the initial $420,000 estimate.

Opus 5.5 completed the working version in just 10 hours, starting from scratch and outperforming earlier models. The tool mirrors Microsoft's native TypeScript compiler (microsoft/TypeScript), maintaining the same command-line interface, language server, and API. It supports Linux x64 and macOS arm64, with Windows and Linux arm64 pending. ts-rust includes built-in Effect diagnostics (codes 377xxx) for Effect projects, requiring no additional compiler when configured in tsconfig.json.

The port is pinned to upstream revision microsoft/TypeScript 673a5f17d713 (2026-09-29, TypeScript 7.1.0-dev) and passes all 181,711 Go tests. It matches Go's behavior on oracle test sets and is roughly twice as fast as the Go version in type checking across 60 open-source projects. On 120 repos, output differences are limited to known issues and Go's own variability.

Benchmarks compare it against tsc 6, tsc 7, and Bun's checker using the T3 Code project.

什么是 ts-rust 以及它如何与 TypeScript 相关?

ts-rust 是 Microsoft TypeScript 7 编译器 (tsc) 的 Rust 移植版,旨在成为高性能、WASM 兼容的替代方案。它在行为、CLI 和 API 上镜像了原始的 Go 实现。

简体中文 version →