Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is a "large" TypeScript implementation? #1757

Closed
paulmarshall opened this issue Jan 21, 2015 · 14 comments
Closed

What is a "large" TypeScript implementation? #1757

paulmarshall opened this issue Jan 21, 2015 · 14 comments
Labels
Discussion Issues which may not have code impact

Comments

@paulmarshall
Copy link

How big (in terms of unminified JavaScript output) is a "large" typescript application you know of?

@RyanCavanaugh RyanCavanaugh added the Discussion Issues which may not have code impact label Jan 21, 2015
@RyanCavanaugh
Copy link
Member

Just to kick off the thread, there's TFS at 150k LOC http://blogs.msdn.com/b/bharry/archive/2012/10/24/typescript-a-real-world-story-of-adoption-in-tfs.aspx

@jasonscharf
Copy link

I work on a project that spits out about ~80k raw LOC unminified JS. Our unminified output (including JSDoc-style comments) is about 7.2MB of JavaScript.

A quick count of semicolons across *.ts files yields about 42k results. This includes a few definition files, however, so it's a really rough count.

We were early adopters of TypeScript, starting with 0.8.2, and while there have been some bumps along with the way with tooling, it's been incredibly successful for us so far. Today we're moving from 1.3 to 1.4 and everybody on the team just loves working with TS.

@sophiajt
Copy link
Contributor

We announced a little while back that Microsoft Azure's portal is made with TypeScript. It's currently over a million lines of code (actually, last I heard, it's close to 1.2 million or so): http://blogs.msdn.com/b/typescript/archive/2014/10/22/typescript-and-the-road-to-2-0.aspx

@basarat
Copy link
Contributor

basarat commented Jan 22, 2015

We have around 40K lines of code in an angular app. 3.2 meg download minified.

@DanielRosenwasser
Copy link
Member

Monaco is >200K of TypeScript - here you can see @jrieken discuss the team's experience in using the language.

We also have a decently sized compiler in TypeScript, which, as the title of this issue calls for, is a TypeScript implementation. 😉

@paulmarshall
Copy link
Author

Looks like I'm working on the second largest TypeScript project on the planet !

@DanielRosenwasser
Copy link
Member

Woah, great to hear you're getting some good use out of TypeScript! Would you care to shed some light on your project @paulmarshall?

@Griffork
Copy link

How do I find out how many LoC my visual studio web project has?

@basarat
Copy link
Contributor

basarat commented Mar 13, 2015

@Griffork put it on github ;) https://github.com/github/linguist

Update: Sorry, github doesn't give you lines

@Griffork
Copy link

Also it's 'closed source' so I can't.

@NoelAbrahams
Copy link

For an approximate count:

  • Find in all files
  • Enable regex
  • Add filter *.ts
  • Search for \n

Should print Matching lines: xxx Matching files: xxx Total files searched: xxx

@paulmarshall
Copy link
Author

paulmarshall commented Sep 1, 2016

Sorry for the delay.

@NoelAbrahams For an approximate count, "Matching lines: 278463 Matching files: 1271 Total files searched: 1273"

@DanielRosenwasser I'm part of a team developing a Lifetime Savings (Pensions to you and me) Administration application for use in the UK.

So, looks like we're the second biggest TypeScript application on the planet (# 1 being Azure's portal)?

@RyanCavanaugh
Copy link
Member

VS Code has about 300,000 lines. The race is on!

@alexzhaosheng
Copy link

The unminified output of my project is about 5 MB, not very big. But I'm starting experience frequent Visual Studio crash problem.
My Visual Studio (VS 2015) works fine when I'm working on the server side part (asp.net mvc), but when I work on the typescript part, it just crashes every 1~2 hours due to insufficient memory. I believe there are memory leaks somewhere.
Anyone get the similar problem?

Thanks in advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Issues which may not have code impact
Projects
None yet
Development

No branches or pull requests

9 participants