Skip to content

Commit 51509f6

Browse files
authored
Merge pull request #1866 from appwrite/update-typescript-7-blog
Update heading levels
2 parents e33bb3f + 53be3d1 commit 51509f6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/routes/blog/post/typescript-7-faster-with-go/+page.markdoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To address this challenge, Microsoft recently confirmed a significant shift unde
1515

1616
Let's break down what this transition means, what's officially confirmed, and how it'll affect you as a developer.
1717

18-
### What does this mean for TypeScript?
18+
# What does this mean for TypeScript?
1919

2020
Here's what we know so far:
2121

@@ -26,7 +26,7 @@ Here's what we know so far:
2626

2727
Microsoft has not announced any changes to TypeScript's language features, syntax, or output because of this rewrite. The transition to Go is an engineering effort to improve performance and maintainability.
2828

29-
### Why Go specifically? Not Rust or C++?
29+
# Why Go specifically? Not Rust or C++?
3030

3131
One question naturally arises: why Go specifically? While Microsoft hasn't provided a comprehensive breakdown comparing Go to alternatives like Rust or C++, they've [publicly shared](https://github.com/microsoft/typescript-go/discussions/411) some key factors:
3232

@@ -38,21 +38,21 @@ One question naturally arises: why Go specifically? While Microsoft hasn't provi
3838

3939
**Long-term API design considerations:** The TypeScript team wants more control over internal compiler APIs. While Go's interop with JavaScript isn't as strong as some alternatives, moving to a more intentional API design will help modernize the ecosystem.
4040

41-
### Benchmark numbers: early results, still preliminary
41+
# Benchmark numbers: early results, still preliminary
4242

4343
Perhaps the most attention-grabbing details involve benchmark numbers shared by Microsoft and industry publications. For instance, compiling the Visual Studio Code codebase (about 1.5 million lines of TypeScript) reportedly went from around 78 seconds with the current compiler down to roughly 7.5 seconds with the new Go-based compiler; a 10x improvement. Other large projects, such as Playwright and TypeORM, reportedly saw similar performance improvements (approximately 10x-13x faster).
4444

4545
These numbers come directly from early demonstrations and internal testing shared by Microsoft. But benchmarks at this early stage often represent idealized or carefully selected scenarios. Real-world improvements for diverse TypeScript projects may vary, and final figures might differ as the implementation matures.
4646

47-
### How will this affect tooling and ecosystem compatibility?
47+
# How will this affect tooling and ecosystem compatibility?
4848

4949
A main concern among developers centers around compatibility with existing tools and integrations. Currently, TypeScript integrates smoothly with bundlers like Webpack, Vite, and esbuild, plus countless IDE plugins and language-server implementations.
5050

5151
Microsoft has publicly committed to maintaining compatibility and minimizing disruption throughout the compiler transition. Still, it's realistic to expect that tooling relying heavily on internal compiler APIs or deeply integrated TypeScript behaviors may require some adjustments. It's been [confirmed](https://github.com/microsoft/typescript-go/discussions/411) that the TypeScript team will initially support both the existing JavaScript-based compiler and the new Go-based compiler concurrently. This dual-compiler support would allow tool authors and ecosystem maintainers ample time to adapt without immediate disruption.
5252

5353
While Microsoft is prioritizing a smooth transition, developers and tool authors should prepare for minor integration adjustments, especially if their workflows rely directly on internal TypeScript compiler APIs.
5454

55-
### Timeline and versioning: what we know
55+
# Timeline and versioning: what we know
5656

5757
Microsoft has confirmed that **TypeScript 7.0 will ship with the Go-based compiler** once it reaches feature parity with the current JavaScript-based version. Meanwhile, the existing compiler will continue under the **TypeScript 6.x** series, which will receive updates and breaking changes to align with the upcoming transition.
5858

@@ -65,12 +65,12 @@ The rough timeline is:
6565

6666
For now, both compilers will coexist, allowing developers to upgrade at their own pace.
6767

68-
### What does this mean for you?
68+
# What does this mean for you?
6969

7070
This transition changes how TypeScript is compiled but not how developers use it. The language itself remains the same, and the compiler will continue outputting JavaScript as before. The main difference is that builds should be significantly faster, with better performance in large projects.
7171

7272
That said, the new compiler is still in development, and benchmarks are early-stage. While Microsoft is working to maintain compatibility, some tools may need updates, and TypeScript 6.x will remain available for projects that aren't ready to switch immediately.
7373

7474
The long-term goal is for the Go-based compiler to fully replace the current one, but until it reaches full stability, both will be maintained in parallel.
7575

76-
We'll continue monitoring official announcements and detailed benchmarks as Microsoft progresses through this transition. Until then, you can remain cautiously optimistic: the future of TypeScript looks promising, and notably faster.
76+
We'll continue monitoring official announcements and detailed benchmarks as Microsoft progresses through this transition. Until then, you can remain cautiously optimistic: the future of TypeScript looks promising, and notably faster.

0 commit comments

Comments
 (0)