Home / Companies / SSOJet / Blog / Post Details
Content Deep Dive

TypeScript Achieves 10x Performance Boost with Native Compiler

Blog post from SSOJet

Post Details
Company
Date Published
Author
Andy Agarwal
Word Count
569
Company Posts That Month
57
Language
English
Hacker News Points
-
Summary

Microsoft's TypeScript team has embarked on an experimental initiative, introducing a new native port of the TypeScript compiler, tsc-go, which is written in Go and aims to significantly boost performance by reducing build times, cold editor startup times, and memory usage. This port eliminates the Node.js runtime overhead, leading to remarkable improvements in large codebases, as demonstrated by the reduction in type-checking time for VS Code’s 1 million lines of code from 77 seconds to 7.5 seconds. While currently experimental and missing features like incremental builds, the native port is accessible for testing via npm and a VS Code extension. Developers are encouraged to provide feedback through GitHub, and the TypeScript team is focused on achieving feature parity with the existing compiler while enhancing support for JSX, JavaScript checking, and improving language services. This transition promises a faster and more efficient development experience, especially for large-scale applications, and marks a significant step forward in the evolution of TypeScript.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 2 354 210 99 -32%