DEV Community

Cover image for Ng-News 25/11: TypeScript's Port to Go, Q&A on SSR
ng-news for This is Angular

Posted on

2 1 1

Ng-News 25/11: TypeScript's Port to Go, Q&A on SSR

TypeScript is moving to Go for major speed boosts, while Angular’s Q&A confirmed Streaming is planned but not prioritized. ng-conf and Angular Connect are also making a comeback.

TypeScript's port to Go

The Angular compiler is built on top of the TypeScript compiler, so any change to TypeScript has a direct effect on Angular. Anders Hejlsberg, the lead architect of TypeScript at Microsoft, announced that TypeScript is being ported to Go.

A 10x Faster TypeScript - TypeScript

Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.

favicon devblogs.microsoft.com

The TypeScript compiler was originally written in TypeScript itself - kind of eating your own dog food. This doesn’t mean developers need to learn Go, but it does mean a significant performance boost. Initial benchmarks show up to a 10x improvement in speed and half the memory usage.

This move follows a broader trend in tooling: more projects are shifting to languages that compile to native code for better performance. Examples include esbuild, Rolldown, and Rspack. Native code means compiled code and optimized for the target architecture. Unlike JavaScript, it doesn’t need to be interpreted and compiled at runtime—it’s ready to go from the start.

It also enables real concurrency, something JavaScript lacks.

On top of that, Go is syntactically similar to JavaScript, which makes porting much easier.

For developers, this means a faster TypeScript experience - snappier editors, quicker build times, and the potential for more powerful language features that were previously constrained by performance.

Anders Hejlsberg mentioned that the new TypeScript compiler could enable real-time validation of AI-generated code. It wouldinstantly flag errors in suggestions from tools like Copilot or ChatGPT. This makes AI-assisted coding more reliable and efficient.

A fully functional compiler is expected by the end of the year, though some features - like JSDocs, project references, and build mode - won’t be ready initially. And since Angular relies heavily on TypeScript, it may take longer for the framework to fully integrate with the new compiler.

Angular Q&A: SSR & Incremental Hydration

This week’s Angular Stream featured Jessica Janiuk, who walked through SSR with Incremental Hydration and answered key questions.

One of the biggest takeaways? Streaming SSR is planned, but its release depends on priority.

There was also discussion on whether defer and hydration should always be used together. In short, we should remember that incremental hydration is for loading performance. Once the application is up and running, defer is the way to go. Incremental hydration also depends on a server running in the background, whereas applications using only defer can be hosted by static web servers.

During the Q&A, some heavy debugging was going on. So here’s a reminder: Disable HMR in dev mode if you want to analyze the full behavior of defer.

​​https://www.youtube.com/live/J7cQ-_dZ0w8

Ng-Conf & Angular Connect

In other news, two major Angular conferences have been confirmed for later this year. ng-conf is happening again, and Angular Connect - once one of the largest Angular events - is making a comeback.

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (2)

Collapse
 
frankitch profile image
Frankitch
myAngularKnowledge = computed(() => readFrom(this.rainerArticles()))
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ng_news profile image
ng-news

Thanks a lot!

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay