BT

InfoQ Homepage News TypeScript Gets Faster Compiler

TypeScript Gets Faster Compiler

Bookmarks

The TypeScript team is building a new, light-weight compiler core to replace it’s existing one. Early results show upto 5x performance improvements compared to the existing compiler.

The new compiler core started as an experiment, but the initial results prompted the team to grow it into the new TypeScript compiler and Language Service.

Once complete, the new compiler should be drop-in compatible with the existing one.  The goal here isn't new compiler features, but rather a cleaner compiler architecture that has better performance and allows us to add new features with greater ease in releases to come.

Some developers claim to have already seen visible difference on larger projects. For instance, user cogware reports -

On a 7kloc codebase it was around 3 seconds before the new compiler, seems to be about 1 second after. 

There are still some things left before the new compiler achieves feature parity with the existing compiler. After this the team will work on moving to the ECMAScript 6 features and other user requests.

The TypeScript repository has also been moved to GitHub from CodePlex. Jonathan Turner, Program Manager for the TypeScript team, explains the move as well as the accompanying change in process -

..there's a large developer community on GitHub, and by participating as part of GitHub we can work more closely with that community.  

On GitHub, the issues we're tracking will be the official issues and the team will be able to work more closely with users on repros. This will make it more transparent to see what is fixed and when.

You can now keep track of discussions on features and issues on the Github issues page.  

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.